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 //