jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/357910 )
Change subject: mw.htmlform: Fix hiding of the textbox for 'selectorother'
fields on page load
......................................................................
mw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page load
Bug: T166621
Change-Id: I3921651585dd8b382afc99eca18a927eba1ebe47
---
M resources/src/mediawiki/htmlform/selectorother.js
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/resources/src/mediawiki/htmlform/selectorother.js
b/resources/src/mediawiki/htmlform/selectorother.js
index 66879e9..b6899d9 100644
--- a/resources/src/mediawiki/htmlform/selectorother.js
+++ b/resources/src/mediawiki/htmlform/selectorother.js
@@ -53,6 +53,7 @@
$root
.on( 'change', '.mw-htmlform-select-or-other',
handleSelectOrOther )
+ .find( '.mw-htmlform-select-or-other' )
.each( function () {
handleSelectOrOther.call( this, true );
} );
--
To view, visit https://gerrit.wikimedia.org/r/357910
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3921651585dd8b382afc99eca18a927eba1ebe47
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Louperivois <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: Jack Phoenix <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits