chore: add semicolons

This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2021-05-12 17:15:18 +05:30 committed by GitHub
parent c246c82a85
commit bb4be32751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
frappe.ui.form.on('Document Naming Rule', {
refresh: function(frm) {
frm.trigger('document_type');
frm.trigger("add_button")
frm.trigger("add_button");
},
document_type: (frm) => {
// update the select field options with fieldnames
@ -32,7 +32,7 @@ frappe.ui.form.on('Document Naming Rule', {
default: frm.doc.counter,
reqd: 1,
description: __('This will update the counter and will affect all documents that will be created')
}]
}];
let primary_action_label = __('Save');
@ -44,10 +44,10 @@ frappe.ui.form.on('Document Naming Rule', {
new_counter: fields.new_counter
},
callback: function() {
frm.set_value("counter", fields.new_counter)
dialog.hide()
frm.set_value("counter", fields.new_counter);
dialog.hide();
}
})
});
};
var dialog = new frappe.ui.Dialog({
@ -57,7 +57,7 @@ frappe.ui.form.on('Document Naming Rule', {
primary_action
});
dialog.show()
dialog.show();
});
}