Ejegg has submitted this change and it was merged.

Change subject: Fix reason for Special:HideBanners on close
......................................................................


Fix reason for Special:HideBanners on close

Change-Id: I63c3138f993364256aed98382b9f2eb950f7cbd4
---
M resources/subscribing/ext.centralNotice.display.hide.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ejegg: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/subscribing/ext.centralNotice.display.hide.js 
b/resources/subscribing/ext.centralNotice.display.hide.js
index 9e5fdbb..e8415e0 100644
--- a/resources/subscribing/ext.centralNotice.display.hide.js
+++ b/resources/subscribing/ext.centralNotice.display.hide.js
@@ -112,7 +112,7 @@
                                        {
                                                'duration': duration,
                                                'category': category,
-                                               'reason' : REASONS.CLOSE
+                                               'reason' : REASONS.CLOSE.key
                                        }
                                );
 

-- 
To view, visit https://gerrit.wikimedia.org/r/235542
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I63c3138f993364256aed98382b9f2eb950f7cbd4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: AndyRussG <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Cdentinger <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: Ssmith <[email protected]>
Gerrit-Reviewer: XenoRyet <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to