mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
added shortcuts
This commit is contained in:
@@ -195,3 +195,19 @@ erpnext.hide_naming_series = function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Mousetrap.bind(["command+g", "ctrl+g"], function() {
|
||||
wn.ui.toolbar.search.show();
|
||||
return false;
|
||||
});
|
||||
|
||||
Mousetrap.bind(["command+s", "ctrl+s"], function() {
|
||||
if(cur_frm)
|
||||
cur_frm.save();
|
||||
return false;
|
||||
});
|
||||
|
||||
Mousetrap.bind(["command+n", "ctrl+n"], function() {
|
||||
wn.ui.toolbar.new_dialog.show();
|
||||
return false;
|
||||
});
|
||||
Reference in New Issue
Block a user