docs: updated Keyboard Shortcut List

This commit is contained in:
Shariq Ansari 2023-01-01 14:31:31 +05:30
parent 538a5be99f
commit d3b020cf23

View file

@ -35,7 +35,7 @@ frappe.ui.form.Layout = class Layout {
}
this.setup_tab_events();
this.setup_tooltip_events();
this.frm && this.setup_tooltip_events();
this.render();
}
@ -541,6 +541,12 @@ frappe.ui.form.Layout = class Layout {
this.wrapper.removeClass("show-tooltip");
}
});
this.frm.page &&
frappe.ui.keys.add_shortcut({
shortcut: "alt+hover",
page: this.frm.page,
description: __("Show Fieldname (click to copy on clipboard)"),
});
}
handle_tab(doctype, fieldname, shift) {