From: Alan Knowles Date: Wed, 21 Sep 2011 02:06:23 +0000 (+0800) Subject: Pman.Lock.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=45baa66ff36c8be0e6a69aae55e0d1a2acf27e82 Pman.Lock.js --- diff --git a/Pman.Lock.js b/Pman.Lock.js index 5a70dba4..46e8681f 100644 --- a/Pman.Lock.js +++ b/Pman.Lock.js @@ -60,7 +60,7 @@ Roo.apply(Pman.Lock.prototype, { success : function(data) { - // Roo.log(data); + Roo.log(data); if (!force && typeof(data) == 'object') { _t.confirmBreak(data); return; @@ -99,7 +99,7 @@ Roo.apply(Pman.Lock.prototype, { Pman.Request({ url : baseURL + '/Core/Lock/unlock', params : { - id : this.cfg.id + id : this.id }, failure : function() { Roo.MessageBox.alert("Error", "UnLock Request failed, you may get a warning when trying to edit again");