Fix ctrl issue during node edition.

This commit is contained in:
Paulo Gustavo Veiga 2012-02-21 18:26:00 -03:00
parent 0bd71c12f9
commit 1256d0e218
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ mindplot.DesignerKeyboard = new Class({
var regex = /^(?:shift|control|ctrl|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) {

View File

@ -33,7 +33,7 @@ mindplot.RESTPersistenceManager = new Class({
};
var request = new Request({
url:this.saveUrl + mapId,
url:this.saveUrl + mapId + "?minor=" + !saveHistory,
method: 'put',
onSuccess:function(responseText, responseXML) {
events.onSuccess();