소스 검색

Don't focus first input when URL contains a hash (#17757).

git-svn-id: http://svn.redmine.org/redmine/trunk@14396 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.2.0
Jean-Philippe Lang 9 년 전
부모
커밋
ec1937479f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      public/javascripts/application.js

+ 1
- 1
public/javascripts/application.js 파일 보기

@@ -627,7 +627,7 @@ function addFormObserversForDoubleSubmit() {
}

function defaultFocus(){
if ($('#content :focus').length == 0) {
if (($('#content :focus').length == 0) && (window.location.hash == '')) {
$('#content input[type=text], #content textarea').first().focus();
}
}

Loading…
취소
저장