summaryrefslogtreecommitdiff
path: root/public/vendor
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-03-15 11:04:45 +0800
committerCheng-Han, Wu2016-03-15 11:04:45 +0800
commit25dd400708bebf107fb8840c627032d42f52117e (patch)
tree7ef27dc0d3dbaf6ca23db8c5741c27989b4f9a93 /public/vendor
parent88e6e8522fd577a7818482c33c4a84ebedc1b4ba (diff)
Improved overall textcomplete performance and more cases and UX handling
Diffstat (limited to 'public/vendor')
-rwxr-xr-xpublic/vendor/jquery-textcomplete/jquery.textcomplete.js2
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();