mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
stream_create: Fix crash on stream creation error.
Commit a9ca5f603b (#15863) incorrectly
translated this; stream_name_error is not a jQuery object.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
ddcd69cb41
commit
f2d0ae3255
@@ -274,7 +274,7 @@ function create_stream() {
|
||||
// error text directly rather than turning it into
|
||||
// "Error creating stream"?
|
||||
stream_name_error.report_already_exists(stream_name);
|
||||
stream_name_error.trigger("select");
|
||||
stream_name_error.select();
|
||||
}
|
||||
|
||||
ui_report.error(
|
||||
|
||||
Reference in New Issue
Block a user