Fix Bug 37707, Bug 37706
This commit is contained in:
parent
d79d912451
commit
a100e0a15f
|
@ -279,11 +279,7 @@ define([
|
||||||
|
|
||||||
Common.util.Shortcuts.delegateShortcuts({
|
Common.util.Shortcuts.delegateShortcuts({
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
'command+s,ctrl+s': _.bind(function (e) {
|
'command+s,ctrl+s,command+p,ctrl+p,command+k,ctrl+k,command+d,ctrl+d': _.bind(function (e) {
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
}, this),
|
|
||||||
'command+p,ctrl+p': _.bind(function (e) {
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, this)
|
}, this)
|
||||||
|
|
|
@ -265,11 +265,7 @@ define([
|
||||||
this.initNames();
|
this.initNames();
|
||||||
Common.util.Shortcuts.delegateShortcuts({
|
Common.util.Shortcuts.delegateShortcuts({
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
'command+s,ctrl+s': _.bind(function (e) {
|
'command+s,ctrl+s,command+p,ctrl+p,command+k,ctrl+k,command+d,ctrl+d': _.bind(function (e) {
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
}, this),
|
|
||||||
'command+p,ctrl+p': _.bind(function (e) {
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, this)
|
}, this)
|
||||||
|
|
|
@ -269,11 +269,7 @@ define([
|
||||||
// this.recognizeBrowser();
|
// this.recognizeBrowser();
|
||||||
Common.util.Shortcuts.delegateShortcuts({
|
Common.util.Shortcuts.delegateShortcuts({
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
'command+s,ctrl+s': _.bind(function (e) {
|
'command+s,ctrl+s,command+p,ctrl+p,command+k,ctrl+k,command+d,ctrl+d': _.bind(function (e) {
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
}, this),
|
|
||||||
'command+p,ctrl+p': _.bind(function (e) {
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}, this)
|
}, this)
|
||||||
|
|
Loading…
Reference in a new issue