fix JavaScript error on IE7 (#13811)

Contributed by Adrian Wilkins.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11728 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-04-20 07:39:26 +00:00
parent eae3a82067
commit f7f6b7ba5b
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ function observeAutocompleteField(fieldId, url, options) {
source: url,
minLength: 2,
search: function(){$('#'+fieldId).addClass('ajax-loading');},
response: function(){$('#'+fieldId).removeClass('ajax-loading');},
response: function(){$('#'+fieldId).removeClass('ajax-loading');}
}, options));
$('#'+fieldId).addClass('autocomplete');
});