fix: Add alt shortcut for Actions button

This commit is contained in:
Faris Ansari 2019-06-28 13:17:39 +05:30
parent 0225ebd3c0
commit 4b3dfec3dd

View file

@ -130,7 +130,12 @@ frappe.ui.Page = Class.extend({
let menu_btn = this.menu_btn_group.find('button');
frappe.ui.keys
.get_shortcut_group(this.page_actions[0])
.add(menu_btn, menu_btn.find('.menu-btn-group-label'))
.add(menu_btn, menu_btn.find('.menu-btn-group-label'));
let action_btn = this.actions_btn_group.find('button');
frappe.ui.keys
.get_shortcut_group(this.page_actions[0])
.add(action_btn, action_btn.find('.actions-btn-group-label'));
},
set_indicator: function(label, color) {