修复新建问题中autocomplete在Firefox下的不正常
This commit is contained in:
parent
786481e144
commit
5e780e6872
|
@ -476,7 +476,7 @@ function observeAutocompleteField(fieldId, url, options) {
|
|||
$(document).ready(function() {
|
||||
$('#'+fieldId).autocomplete($.extend({
|
||||
source: url,
|
||||
select: function(e,ui){location.href("/issues/"+ui.item.value);},
|
||||
select: function(e,ui){self.location="/issues/"+ui.item.value;},
|
||||
minLength: 2,
|
||||
search: function(){$('#'+fieldId).addClass('ajax-loading');},
|
||||
response: function(){$('#'+fieldId).removeClass('ajax-loading');
|
||||
|
|
Loading…
Reference in New Issue