[DE][PE] Prevent browser event, when press Ctrl+S on dialog header.
This commit is contained in:
parent
914a4e17dc
commit
7d4c2adb5e
|
@ -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)
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -221,6 +221,14 @@ define([
|
|||
});
|
||||
|
||||
this.initNames();
|
||||
Common.util.Shortcuts.delegateShortcuts({
|
||||
shortcuts: {
|
||||
'command+s,ctrl+s': _.bind(function (e) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}, this)
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue