compose: remove a recent bit of error handling for subscribe-and-send.

(imported from commit c22ae573904a4532386291e540b8a23dca389a82)
This commit is contained in:
Jessica McKellar
2013-02-20 16:21:03 -05:00
parent f96079ee48
commit 015cfb594e

View File

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