mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
stream_create: Fix crash on stream creation error.
Commita9ca5f603b(#15863) incorrectly translated this; stream_name_error is not a jQuery object. Signed-off-by: Anders Kaseorg <anders@zulip.com> (cherry picked from commitf2d0ae3255)
This commit is contained in:
committed by
Tim Abbott
parent
28a8655a9d
commit
09678193c9
@@ -254,7 +254,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