mirror of https://github.com/zulip/zulip.git
dialog_widget: Clear error element when clicked on the submit button.
This commit is contained in:
parent
b9aed2df19
commit
0811bda192
|
@ -113,6 +113,7 @@ export function launch(conf) {
|
||||||
} else if (conf.close_on_submit) {
|
} else if (conf.close_on_submit) {
|
||||||
overlays.close_modal("#dialog_widget_modal");
|
overlays.close_modal("#dialog_widget_modal");
|
||||||
}
|
}
|
||||||
|
$("#dialog_error").empty();
|
||||||
conf.on_click();
|
conf.on_click();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue