diff options
author | Cheng-Han, Wu | 2016-03-15 11:04:45 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-03-15 11:04:45 +0800 |
commit | 25dd400708bebf107fb8840c627032d42f52117e (patch) | |
tree | 7ef27dc0d3dbaf6ca23db8c5741c27989b4f9a93 /public/vendor | |
parent | 88e6e8522fd577a7818482c33c4a84ebedc1b4ba (diff) |
Improved overall textcomplete performance and more cases and UX handling
Diffstat (limited to 'public/vendor')
-rwxr-xr-x | public/vendor/jquery-textcomplete/jquery.textcomplete.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/vendor/jquery-textcomplete/jquery.textcomplete.js b/public/vendor/jquery-textcomplete/jquery.textcomplete.js index 485214d5..e1d90d0a 100755 --- a/public/vendor/jquery-textcomplete/jquery.textcomplete.js +++ b/public/vendor/jquery-textcomplete/jquery.textcomplete.js @@ -202,7 +202,9 @@ if (typeof jQuery === 'undefined') { // Ignore shift-key, ctrl-key and so on. if (skipUnchangedTerm && this._term === term) { return; } this._term = term; + this.fire('textComplete:beforeSearch'); this._search.apply(this, searchQuery); + this.fire('textComplete:afterSearch'); } else { this._term = null; this.dropdown.deactivate(); |