Skip to content

Commit

Permalink
fix: sider issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Aug 24, 2021
1 parent c74f0ce commit 8884f29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erpnext/setup/doctype/company/company.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ frappe.ui.form.on("Company", {

dialog.fields_dict.update.$input.click(function() {
var args = dialog.get_values();
if(!args) return;
if (!args) return;
frappe.show_alert(__("Update in progress. It might take a while."));
return frappe.call({
method: "erpnext.setup.doctype.company.company.enqueue_replace_abbr",
Expand All @@ -68,7 +68,7 @@ frappe.ui.form.on("Company", {
"new": args.new_abbr
},
callback: function(r) {
if(r.exc) {
if (r.exc) {
frappe.msgprint(__("There were errors."));
return;
} else {
Expand All @@ -78,7 +78,7 @@ frappe.ui.form.on("Company", {
frm.refresh();
},
btn: this
})
});
});
dialog.show();
},
Expand Down

0 comments on commit 8884f29

Please sign in to comment.