jenkins-bot has submitted this change and it was merged. 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(-) Approvals: Addshore: 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 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: merged Gerrit-Change-Id: I5ba51fb5f00fe07d4d891656b093806a390cd159 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/DataValues Gerrit-Branch: master Gerrit-Owner: Henning Snater <henning.sna...@wikimedia.de> Gerrit-Reviewer: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits