mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
Fix create-and-send functionality.
(imported from commit 24452eb90e9aaeb0ad406f6c56ce412e2f410865)
This commit is contained in:
@@ -109,7 +109,7 @@ function check_stream_for_send(stream_name) {
|
|||||||
data: {'stream': stream_name},
|
data: {'stream': stream_name},
|
||||||
async: false,
|
async: false,
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
if (data.exists === "False") {
|
if (!data.exists) {
|
||||||
// The stream doesn't exist
|
// The stream doesn't exist
|
||||||
okay = false;
|
okay = false;
|
||||||
$('#send-status').removeClass(status_classes).show();
|
$('#send-status').removeClass(status_classes).show();
|
||||||
|
|||||||
Reference in New Issue
Block a user