From 6c51696d1a9984eb4ce36c46de6e63f16aa601f4 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 27 Nov 2018 19:43:34 +0100 Subject: [PATCH] also don't show "No results" for attr autocomplete --- src/public/javascripts/services/attribute_autocomplete.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/public/javascripts/services/attribute_autocomplete.js b/src/public/javascripts/services/attribute_autocomplete.js index 9b445a118..c0422ba54 100644 --- a/src/public/javascripts/services/attribute_autocomplete.js +++ b/src/public/javascripts/services/attribute_autocomplete.js @@ -25,10 +25,6 @@ function initAttributeNameAutocomplete({ $el, attributeType, open }) { return {name}; }); - if (result.length === 0) { - result.push({name: "No results"}); - } - cb(result); } }]);