Henning Snater has uploaded a new change for review.
https://gerrit.wikimedia.org/r/89159
Change subject: Removed replacing of suggester input text when hovering a
suggestion
......................................................................
Removed replacing of suggester input text when hovering a suggestion
(bug 51117)
When hovering a suggestion from the suggester's drop-down list, the input text
is not
replaced anymore.
Change-Id: I5ba51fb5f00fe07d4d891656b093806a390cd159
---
M ValueView/resources/jquery.ui/jquery.ui.suggester.js
1 file changed, 0 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DataValues
refs/changes/59/89159/1
diff --git a/ValueView/resources/jquery.ui/jquery.ui.suggester.js
b/ValueView/resources/jquery.ui/jquery.ui.suggester.js
index 30f050d..d6b2bff 100644
--- a/ValueView/resources/jquery.ui/jquery.ui.suggester.js
+++ b/ValueView/resources/jquery.ui/jquery.ui.suggester.js
@@ -126,16 +126,6 @@
this.source = this._filterArray;
}
- // Replace input value with active suggestion list item
while hovering the list with the
- // mouse cursor.
- var fnNativeMenuFocus = this.menu.option( 'focus' );
- this.menu.option( 'focus', function( event, ui ) {
- fnNativeMenuFocus( event, ui );
- if ( /^mouse/.test( event.originalEvent.type )
) {
- self.element.val( ui.item.data(
'item.autocomplete' ).value );
- }
- } );
-
/**
* @see ui.menu.refresh
*/
--
To view, visit https://gerrit.wikimedia.org/r/89159
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ba51fb5f00fe07d4d891656b093806a390cd159
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Henning Snater <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits