projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7901f7
)
Pman.Lock.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 09:51:17 +0000
(17:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 18 Nov 2010 09:51:17 +0000
(17:51 +0800)
Pman.Lock.js
patch
|
blob
|
history
diff --git
a/Pman.Lock.js
b/Pman.Lock.js
index
a47c25e
..
d210569
100644
(file)
--- a/
Pman.Lock.js
+++ b/
Pman.Lock.js
@@
-58,7
+58,7
@@
Roo.apply(Pman.Lock.prototype, {
success : function(data)
{
success : function(data)
{
- Roo.log(data);
+
//
Roo.log(data);
if (!force && typeof(data) == 'object') {
_t.confirmBreak(data);
}
if (!force && typeof(data) == 'object') {
_t.confirmBreak(data);
}
@@
-99,18
+99,11
@@
Roo.apply(Pman.Lock.prototype, {
id : this.lock_id
},
failure : function() {
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)
{
},
success : function(data)
{
- Roo.log(data);
-
- if (typeof(data) == 'object') {
- _t.confirmBreak(data);
- }
-
- _t.cfg.success(_t); //dont care about scope..
-
+ // don nothing
}
});
}
});