Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: options.js

Issue 29339651: Issue 3915 - Avoid listing special subscriptions (Closed)
Patch Set: Avoid listing special subscriptions Created April 13, 2016, 8:03 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « messageResponder.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: options.js
diff --git a/options.js b/options.js
index 849096b0aa64cc2fc4668066624a3667e2268ffa..a3c5cf6412bbf6e7eb4db0bda09a3d1f40dc1e2a 100644
--- a/options.js
+++ b/options.js
@@ -955,6 +955,9 @@
switch (action)
{
case "added":
+ if (subscription.isSpecial)
kzar 2016/04/13 08:05:11 Note: I wasn't sure how to test this.
+ return;
+
updateSubscription(subscription);
updateShareLink();
« no previous file with comments | « messageResponder.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld