Minor fix in the autocomplete Inspector editor

This commit is contained in:
alekseybobkov 2015-10-05 21:14:32 -07:00
parent 889a25f1c6
commit 8d574e93d9
1 changed files with 12 additions and 0 deletions

View File

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