Fix create-and-send functionality.

(imported from commit 24452eb90e9aaeb0ad406f6c56ce412e2f410865)
This commit is contained in:
Tim Abbott
2012-10-18 13:40:53 -04:00
parent 3051b34bb0
commit 247cfc5344

View File

@@ -109,7 +109,7 @@ function check_stream_for_send(stream_name) {
data: {'stream': stream_name},
async: false,
success: function (data) {
if (data.exists === "False") {
if (!data.exists) {
// The stream doesn't exist
okay = false;
$('#send-status').removeClass(status_classes).show();