From 8d574e93d9086e73c46d4caf4ed48ecba7bebeee Mon Sep 17 00:00:00 2001 From: alekseybobkov Date: Mon, 5 Oct 2015 21:14:32 -0700 Subject: [PATCH] Minor fix in the autocomplete Inspector editor --- .../assets/ui/js/inspector.editor.autocomplete.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/system/assets/ui/js/inspector.editor.autocomplete.js b/modules/system/assets/ui/js/inspector.editor.autocomplete.js index 0fb2d3e3e..0c204f78b 100644 --- a/modules/system/assets/ui/js/inspector.editor.autocomplete.js +++ b/modules/system/assets/ui/js/inspector.editor.autocomplete.js @@ -98,6 +98,18 @@ return this.getInput().parentNode } + AutocompleteEditor.prototype.registerHandlers = function() { + BaseProto.registerHandlers.call(this) + + $(this.getInput()).on('change', this.proxy(this.onInputKeyUp)) + } + + AutocompleteEditor.prototype.unregisterHandlers = function() { + BaseProto.unregisterHandlers.call(this) + + $(this.getInput()).off('change', this.proxy(this.onInputKeyUp)) + } + // // Dynamic items //