[DE][PE] Prevent browser event, when press Ctrl+S on dialog header.
This commit is contained in:
parent
c258a6d81b
commit
0d3f0a88f9
|
@ -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)
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue