[assist] Make sure the search autocomplete spinner gets removed on search
return;
}
if (options.closeOnEnter) {
+ hideSpinner();
$element.hueAutocomplete('close');
// Prevent autocomplete on enter
$element.hueAutocomplete("option", "disabled", true);
options.onEnter();
}
if (options.blurOnEnter) {
+ hideSpinner();
$element.blur();
}
}
}
var closeSubscription = huePubSub.subscribe('autocomplete.close', function () {
+ hideSpinner();
$element.hueAutocomplete('close');
});
