git-svn-id: http://svn.redmine.org/redmine/trunk@14396 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/3.2.0
} | } | ||||
function defaultFocus(){ | function defaultFocus(){ | ||||
if ($('#content :focus').length == 0) { | |||||
if (($('#content :focus').length == 0) && (window.location.hash == '')) { | |||||
$('#content input[type=text], #content textarea').first().focus(); | $('#content input[type=text], #content textarea').first().focus(); | ||||
} | } | ||||
} | } |