|
|
|
@ -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');
|
|
|
|
|