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

This commit is contained in:
Julia Radzhabova 2017-04-06 09:55:47 +03:00
parent c258a6d81b
commit 0d3f0a88f9

View file

@ -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)
}
});
}
},