mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
commonified ripped paper effect and ctrl+s in todo
This commit is contained in:
@@ -182,6 +182,8 @@ erpnext.setup_mousetrap = function() {
|
||||
Mousetrap.bind(["command+s", "ctrl+s"], function() {
|
||||
if(cur_frm)
|
||||
cur_frm.save();
|
||||
else if(wn.container.page.save_action)
|
||||
wn.container.page.save_action();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user