fix: Primary button icon

This commit is contained in:
Suraj Shetty 2020-08-27 18:57:43 +05:30
parent b6ebcd7559
commit a49af09705
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ frappe.treeview_settings["Account"] = {
} else { } else {
treeview.new_node(); treeview.new_node();
} }
}, "octicon octicon-plus"); }, "add");
}, },
onrender: function(node) { onrender: function(node) {
if(frappe.boot.user.can_read.indexOf("GL Entry") !== -1){ if(frappe.boot.user.can_read.indexOf("GL Entry") !== -1){

View File

@ -164,7 +164,7 @@ frappe.ui.form.on("Issue", {
${split_issue} ${split_issue}
</button>`) </button>`)
.appendTo(frm.timeline.wrapper.find('.comment-header .asset-details:not([data-communication-type="Comment"])')) .appendTo(frm.timeline.wrapper.find('.comment-header .asset-details:not([data-communication-type="Comment"])'))
if (!frm.timeline.wrapper.data("split-issue-event-attached")){ if (!frm.timeline.wrapper.data("split-issue-event-attached")) {
frm.timeline.wrapper.on('click', '.btn-split-issue', (e) => { frm.timeline.wrapper.on('click', '.btn-split-issue', (e) => {
var dialog = new frappe.ui.Dialog({ var dialog = new frappe.ui.Dialog({
title: __("Split Issue"), title: __("Split Issue"),