mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
settings: Fix ugly exclamation on default streams errors.
This commit is contained in:
@@ -115,9 +115,9 @@ function make_stream_default(stream_name) {
|
|||||||
data: data,
|
data: data,
|
||||||
error: function (xhr) {
|
error: function (xhr) {
|
||||||
if (xhr.status.toString().charAt(0) === "4") {
|
if (xhr.status.toString().charAt(0) === "4") {
|
||||||
ui_report.error(i18n.t("Failed!"), xhr, default_stream_status);
|
ui_report.error(i18n.t("Failed"), xhr, default_stream_status);
|
||||||
} else {
|
} else {
|
||||||
ui_report.error(i18n.t("Failed!"), default_stream_status);
|
ui_report.error(i18n.t("Failed"), default_stream_status);
|
||||||
}
|
}
|
||||||
default_stream_status.show();
|
default_stream_status.show();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user