fix: Linting issues
(cherry picked from commit ff570f48a0ba56925528eb8696b8b7d862252d8f)
This commit is contained in:
parent
237b1a91de
commit
f109f6fd16
@ -115,7 +115,7 @@ var create_import_button = function(frm) {
|
|||||||
freeze: true,
|
freeze: true,
|
||||||
freeze_message: __("Creating Accounts..."),
|
freeze_message: __("Creating Accounts..."),
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(!r.exc) {
|
if (!r.exc) {
|
||||||
clearInterval(frm.page["interval"]);
|
clearInterval(frm.page["interval"]);
|
||||||
frm.page.set_indicator(__('Import Successful'), 'blue');
|
frm.page.set_indicator(__('Import Successful'), 'blue');
|
||||||
create_reset_button(frm);
|
create_reset_button(frm);
|
||||||
@ -152,7 +152,7 @@ var validate_coa = function(frm) {
|
|||||||
frm.page['show_import_button'] = Boolean(r.message['show_import_button']);
|
frm.page['show_import_button'] = Boolean(r.message['show_import_button']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user