Jdlrobson has uploaded a new change for review.

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

Change subject: Update watchstar correctly
......................................................................

Update watchstar correctly

On collection-unwatch event set watched status to false of star
Bug: T94508

Change-Id: I368f2f4e127a67b1898bae890ec002022a79fa85
---
M resources/ext.gather.watchstar/CollectionsWatchstar.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/04/201604/1

diff --git a/resources/ext.gather.watchstar/CollectionsWatchstar.js 
b/resources/ext.gather.watchstar/CollectionsWatchstar.js
index 4b1c78a..d8a42fb 100644
--- a/resources/ext.gather.watchstar/CollectionsWatchstar.js
+++ b/resources/ext.gather.watchstar/CollectionsWatchstar.js
@@ -94,7 +94,7 @@
                                } );
                                overlay.on( 'collection-unwatch', function ( 
collection ) {
                                        if ( collection.isWatchlist ) {
-                                               self.newStatus( true );
+                                               self.newStatus( false );
                                        }
                                } );
                        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I368f2f4e127a67b1898bae890ec002022a79fa85
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to