1 //<script type="text/javascript">
11 success : function(lock) { ..show dialog etc.....
14 ... send _lock=XXX to Roo updated code..
16 lock.unlock() -- we dont care about the result..
24 * baseURL + /Core/Lock/lock?on_id=...&on_table=...
25 * - returns id or an array of who has the locks.
27 * Force an unlock after a warning..
28 * baseURL + /Core/Lock/lock?on_id=...&on_table=...&force=1
31 * Unlock - call when window is closed..
32 * baseURL + /Core/Lock/unlock?on_id=...&on_table=...&force=1
33 * - returns jerr or jok
36 Pman.Lock = function (cfg) {
40 url : baseURL + 'Core/Lock.php',
45 failure : function() {
46 Roo.MessageBox.alert("Error", "Lock Request failed, please try again");
48 success : function(data)
52 _t.cfg.success.call(_t,_t);