mirror of https://github.com/zulip/zulip.git
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:
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(
|
||||
|
|
Loading…
Reference in New Issue