fix: web form buttons
This commit is contained in:
parent
dcbce242a9
commit
1937a1e558
1 changed files with 4 additions and 4 deletions
|
|
@ -88,16 +88,16 @@ export default class WebForm extends frappe.ui.FieldGroup {
|
|||
|
||||
setup_delete_button() {
|
||||
this.add_button_to_header(
|
||||
'<i class="fa fa-trash" aria-hidden="true"></i>',
|
||||
"light",
|
||||
frappe.utils.icon('delete'),
|
||||
"danger",
|
||||
() => this.delete()
|
||||
);
|
||||
}
|
||||
|
||||
setup_print_button() {
|
||||
this.add_button_to_header(
|
||||
'<i class="fa fa-print" aria-hidden="true"></i>',
|
||||
"light",
|
||||
frappe.utils.icon('print'),
|
||||
"primary",
|
||||
() => this.print()
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue