Commit 7d4c2adb authored by Julia Radzhabova's avatar Julia Radzhabova

[DE][PE] Prevent browser event, when press Ctrl+S on dialog header.

parent 914a4e17
......@@ -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)
}
});
}
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment