From: Alan Knowles Date: Thu, 18 Nov 2010 09:51:17 +0000 (+0800) Subject: Pman.Lock.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7a6a68044a3cb8451f46cf306411b23484bc92cf Pman.Lock.js --- diff --git a/Pman.Lock.js b/Pman.Lock.js index a47c25e2..d2105691 100644 --- a/Pman.Lock.js +++ b/Pman.Lock.js @@ -58,7 +58,7 @@ Roo.apply(Pman.Lock.prototype, { success : function(data) { - Roo.log(data); + // Roo.log(data); if (!force && typeof(data) == 'object') { _t.confirmBreak(data); } @@ -99,18 +99,11 @@ Roo.apply(Pman.Lock.prototype, { id : this.lock_id }, failure : function() { - Roo.MessageBox.alert("Error", "Lock Request failed, please try again"); + Roo.MessageBox.alert("Error", "UnLock Request failed, you may get a warning when trying to edit again"); }, success : function(data) { - Roo.log(data); - - if (typeof(data) == 'object') { - _t.confirmBreak(data); - } - - _t.cfg.success(_t); //dont care about scope.. - + // don nothing } });