fix(energy-point-log): fix filename

This commit is contained in:
Rushabh Mehta 2019-06-05 19:24:18 +05:30
parent 210c97dc3b
commit 200cc87677
2 changed files with 2 additions and 7 deletions

View file

@ -122,7 +122,8 @@ frappe.msgprint = function(msg, title) {
// setup and bind an action to the primary button
if (data.primary_action) {
frappe.msg_dialog.set_primary_action(__(data.primary_action.label || "Done"), data.primary_action.action);
frappe.msg_dialog.set_primary_action(__(data.primary_action.label || "Done"),
data.primary_action.action);
}
// class "msgprint" is used in tests
@ -144,12 +145,6 @@ frappe.msgprint = function(msg, title) {
msg = frappe.utils.replace_newlines(data.message);
}
if (data.primary_action) {
frappe.msg_dialog.get_primary_btn().show();
} else {
frappe.msg_dialog.get_primary_btn().hide();
}
var msg_exists = false;
if(data.clear) {
frappe.msg_dialog.msg_area.empty();