mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
Fix ctrl issue during node edition.
This commit is contained in:
parent
0bd71c12f9
commit
1256d0e218
@ -201,7 +201,7 @@ mindplot.DesignerKeyboard = new Class({
|
|||||||
|
|
||||||
var regex = /^(?:shift|control|ctrl|alt|meta)$/;
|
var regex = /^(?:shift|control|ctrl|alt|meta)$/;
|
||||||
var modifiers = ['shift', 'control', 'alt', 'meta'];
|
var modifiers = ['shift', 'control', 'alt', 'meta'];
|
||||||
var excludes = ['esc','capslock','tab','f1','f3','f4','f5','f6','f7','f8','f9','f10','f11','f12','backspace','down','up','left','right'];
|
var excludes = ['esc','capslock','tab','f1','f3','f4','f5','f6','f7','f8','f9','f10','f11','f12','backspace','down','up','left','right','control'];
|
||||||
|
|
||||||
$(document).addEvent('keydown', function(event) {
|
$(document).addEvent('keydown', function(event) {
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ mindplot.RESTPersistenceManager = new Class({
|
|||||||
};
|
};
|
||||||
|
|
||||||
var request = new Request({
|
var request = new Request({
|
||||||
url:this.saveUrl + mapId,
|
url:this.saveUrl + mapId + "?minor=" + !saveHistory,
|
||||||
method: 'put',
|
method: 'put',
|
||||||
onSuccess:function(responseText, responseXML) {
|
onSuccess:function(responseText, responseXML) {
|
||||||
events.onSuccess();
|
events.onSuccess();
|
||||||
|
Loading…
Reference in New Issue
Block a user