From 1c75cdb709d18fa8c2b7e10083f869261d71a015 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 7 Oct 2014 22:59:51 -0600 Subject: [PATCH] Revert "Ignore reset() if data already exists. This is not a clear method" This reverts commit 3336caa3636b8180b2aabc2628e24a75877e5ed0. This needs to be handled a different way --- imp/js/autocomplete.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/imp/js/autocomplete.js b/imp/js/autocomplete.js index 0d8f80234e8..03967fb0b32 100644 --- a/imp/js/autocomplete.js +++ b/imp/js/autocomplete.js @@ -140,10 +140,6 @@ var IMP_Autocompleter = Class.create({ reset: function() { - if (this.data && this.data.size()) { - return; - } - this.data = []; this.currentEntries().invoke('remove'); this.processValue($F(this.elt));