Fix event bug in windows.
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user