commit
cac28c5cd0
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ frappe.ui.Dialog = frappe.ui.FieldGroup.extend({
|
|||
|
||||
// show footer
|
||||
this.action = this.action || { primary: { }, secondary: { } };
|
||||
if(this.primary_action || this.action.primary) {
|
||||
if(this.primary_action || this.action.primary.label) {
|
||||
this.set_primary_action(this.primary_action_label || this.action.primary.label || __("Submit"), this.primary_action || this.action.primary.click);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue