mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:51:23 +08:00
[DE][PE] Prevent browser event, when press Ctrl+S on dialog header.
This commit is contained in:
@ -231,6 +231,15 @@ define([
|
||||
});
|
||||
|
||||
this.initNames(); //for shapes
|
||||
|
||||
Common.util.Shortcuts.delegateShortcuts({
|
||||
shortcuts: {
|
||||
'command+s,ctrl+s': _.bind(function (e) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}, this)
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user