|
@@ -511,9 +511,6 @@ from desktop.views import _ko
|
|
|
if (valueToInsert.toLowerCase() === self.suggestions.filter().toLowerCase()) {
|
|
if (valueToInsert.toLowerCase() === self.suggestions.filter().toLowerCase()) {
|
|
|
// Close the autocompleter when the user has typed a complete suggestion
|
|
// Close the autocompleter when the user has typed a complete suggestion
|
|
|
self.detach();
|
|
self.detach();
|
|
|
- if (emptyCallback) {
|
|
|
|
|
- emptyCallback();
|
|
|
|
|
- }
|
|
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
if (self.suggestions.filter()) {
|
|
if (self.suggestions.filter()) {
|