##// END OF EJS Templates
Fixed that autocomplete results are not reset after clearing search field (#11909)....
Jean-Philippe Lang -
r10317:8cf8f5bdbfe0
parent child
Show More
@@ -496,7 +496,6 function observeSearchfield(fieldId, targetId, url) {
496 496 var val = $this.val();
497 497 if ($this.attr('data-value-was') != val){
498 498 $this.attr('data-value-was', val);
499 if (val != '') {
500 499 $.ajax({
501 500 url: url,
502 501 type: 'get',
@@ -506,7 +505,6 function observeSearchfield(fieldId, targetId, url) {
506 505 complete: function(){ $this.removeClass('ajax-loading'); }
507 506 });
508 507 }
509 }
510 508 };
511 509 var reset = function() {
512 510 if (timer) {
General Comments 0
You need to be logged in to leave comments. Login now