Merge pull request #35850 from iamejaaz/remove-copy-from-nav
refactor: remove copy functionality from nav
This commit is contained in:
commit
912048b9f9
1 changed files with 0 additions and 13 deletions
|
|
@ -247,19 +247,6 @@ frappe.breadcrumbs = {
|
|||
last_crumb.addClass("ellipsis");
|
||||
last_crumb.find("a").addClass("ellipsis");
|
||||
}
|
||||
|
||||
if (!is_new_doc) {
|
||||
last_crumb.css("cursor", "copy");
|
||||
last_crumb.click((event) => {
|
||||
event.stopImmediatePropagation();
|
||||
frappe.utils.copy_to_clipboard(doc.name);
|
||||
});
|
||||
last_crumb.attr("title", __("Click to copy name"));
|
||||
last_crumb.tooltip({
|
||||
delay: { show: 100, hide: 100 },
|
||||
trigger: "hover",
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue