From 87b1c91406f26e2fa131d04e4694f41c256ded2b Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Thu, 7 Feb 2013 11:48:09 -0500 Subject: [PATCH] Don't show success notifications on subscribe. A visual change in the form will already have made it clear that the action succeeded. (imported from commit 114bc3a9c9ee759993b8e2c80f7d9a479d365e21) --- zephyr/static/js/subs.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/zephyr/static/js/subs.js b/zephyr/static/js/subs.js index b9ca334a2b..174b722f49 100644 --- a/zephyr/static/js/subs.js +++ b/zephyr/static/js/subs.js @@ -342,7 +342,6 @@ function ajaxSubscribe(stream) { } else { // Display the canonical stream capitalization. true_stream_name = res.subscribed[email][0]; - ui.report_success("Subscribed to " + true_stream_name, $("#subscriptions-status")); } mark_subscribed(true_stream_name); }, @@ -364,8 +363,6 @@ function ajaxUnsubscribe(stream) { $("#subscriptions-status").hide(); if (res.removed.length === 0) { name = res.not_subscribed[0]; - ui.report_success("Already not subscribed to " + name, - $("#subscriptions-status")); } else { name = res.removed[0]; }