Browse Source

[minor] print_style.js

version-14
Rushabh Mehta 8 years ago
parent
commit
e62de7b0e7
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      frappe/printing/doctype/print_style/print_style.js

+ 0
- 5
frappe/printing/doctype/print_style/print_style.js View File

@@ -3,11 +3,6 @@

frappe.ui.form.on('Print Style', {
refresh: function(frm) {
/* update in local */
if (!frm.is_new() && !locals[':Print Style'][frm.doc.name]) {
locals[':Print Style'][frm.doc.name] = frm.doc;
}

frm.add_custom_button(__('Print Settings'), () => {
frappe.set_route('Form', 'Print Settings');
})


Loading…
Cancel
Save