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

This commit is contained in:
Ganesh Pawar 2021-07-15 10:15:16 +05:30 committed by Tim Abbott
parent b9aed2df19
commit 0811bda192
1 changed files with 1 additions and 0 deletions

View File

@ -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();
});