Fix event bug in windows.
parent
f961f7f071
commit
21cae14ddd
|
@ -79,7 +79,7 @@ mindplot.DesignerKeyboard = new Class({
|
||||||
|
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
|
|
||||||
'ctrl+z':function () {
|
'ctrl+z':function (event) {
|
||||||
event.preventDefault(event);
|
event.preventDefault(event);
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
designer.undo();
|
designer.undo();
|
||||||
|
@ -93,7 +93,7 @@ mindplot.DesignerKeyboard = new Class({
|
||||||
|
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
|
|
||||||
'ctrl+c':function () {
|
'ctrl+c':function (event) {
|
||||||
event.preventDefault(event);
|
event.preventDefault(event);
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
designer.copyToClipboard();
|
designer.copyToClipboard();
|
||||||
|
@ -107,7 +107,7 @@ mindplot.DesignerKeyboard = new Class({
|
||||||
|
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
|
|
||||||
'ctrl+v':function () {
|
'ctrl+v':function (event) {
|
||||||
event.preventDefault(event);
|
event.preventDefault(event);
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue