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.

dialog_widget: Clear error element when clicked on the submit button.

Ganesh Pawar0811bda19209
diff --git a/static/js/dialog_widget.js b/static/js/dialog_widget.js
index f35266030cc..3c9e8f13010 100644
--- a/static/js/dialog_widget.js
+++ b/static/js/dialog_widget.js
@@ -113,6 +113,7 @@ export function launch(conf) {
} else if (conf.close_on_submit) {
overlays.close_modal("#dialog_widget_modal");
}
+ $("#dialog_error").empty();
conf.on_click();
});