mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
compose: remove a recent bit of error handling for subscribe-and-send.
(imported from commit c22ae573904a4532386291e540b8a23dca389a82)
This commit is contained in:
@@ -288,16 +288,6 @@ function check_stream_for_send(stream_name) {
|
||||
ui.report_error("Error checking subscription", xhr, $("#home-error"));
|
||||
$("#stream").focus();
|
||||
$("#compose-send-button").removeAttr('disabled');
|
||||
} else {
|
||||
if (result === "does-not-exist") {
|
||||
$('#send-status').removeClass(status_classes);
|
||||
$('#stream-dne-name').text(stream_name);
|
||||
$('#stream-dne').show();
|
||||
$("#compose-send-button").removeAttr('disabled');
|
||||
exports.hide();
|
||||
$('#create-it').focus();
|
||||
}
|
||||
$("#home-error").hide();
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user