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)
This commit is contained in:
Waseem Daher 2013-02-07 11:48:09 -05:00
parent bd6be38010
commit 87b1c91406
1 changed files with 0 additions and 3 deletions

View File

@ -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];
}