AndyRussG has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/235542

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/42/235542/1

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: newchange
Gerrit-Change-Id: I63c3138f993364256aed98382b9f2eb950f7cbd4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: AndyRussG <[email protected]>

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

Reply via email to