Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

modal: Hide, instead of empty, the dialog error element.

Ganesh Pawar4ccaff6e32d3
diff --git a/static/js/dialog_widget.js b/static/js/dialog_widget.js
index c16b0517cd0..6b5968457a7 100644
--- a/static/js/dialog_widget.js
+++ b/static/js/dialog_widget.js
@@ -134,7 +134,7 @@ export function launch(conf) {
} else if (conf.close_on_submit) {
close_modal();
}
- $("#dialog_error").empty();
+ $("#dialog_error").hide();
conf.on_click(e);
});