fix(dialog): clear message before show incase the dialog is being reused
This commit is contained in:
parent
550e601186
commit
78c3a5de2d
1 changed files with 4 additions and 0 deletions
|
|
@ -152,6 +152,10 @@ frappe.ui.Dialog = class Dialog extends frappe.ui.FieldGroup {
|
|||
this.$wrapper.removeClass('fade');
|
||||
}
|
||||
this.$wrapper.modal("show");
|
||||
|
||||
// clear any message
|
||||
this.clear_message();
|
||||
|
||||
this.primary_action_fulfilled = false;
|
||||
this.is_visible = true;
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue