jenkins-bot has submitted this change and it was merged.
Change subject: $.ui.suggester: Suppress autocomplete's native blur handling
......................................................................
$.ui.suggester: Suppress autocomplete's native blur handling
(bug 44896)
By suppressing autocomplete's native blur handling, the auto-completed string
will not be dropped
when blurring the list of suggestions.
Change-Id: Ic47433bc2efc59c8d408d962cc4b9b2a1190d903
---
M ValueView/resources/jquery.ui/jquery.ui.suggester.js
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Tobias Gritschacher: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ValueView/resources/jquery.ui/jquery.ui.suggester.js
b/ValueView/resources/jquery.ui/jquery.ui.suggester.js
index 928770a..163f417 100644
--- a/ValueView/resources/jquery.ui/jquery.ui.suggester.js
+++ b/ValueView/resources/jquery.ui/jquery.ui.suggester.js
@@ -127,6 +127,10 @@
this.source = this._filterArray;
}
+ // Get rid of autocomplete's native blur handling
resetting the input (causing the
+ // auto-completed string to be dropped).
+ this.menu.option( 'blur', null );
+
/**
* @see ui.menu.refresh
*/
--
To view, visit https://gerrit.wikimedia.org/r/89178
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic47433bc2efc59c8d408d962cc4b9b2a1190d903
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Henning Snater <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits