+ confirmBreak : function (ar)
+ {
+
+ var msg = "This Record is Locked by the following people, <br/>" +
+ "Do you want to continue, this will prevent these people from saving their changes<br/>";
+
+ Roo.each(ar, function(p) {
+ msg += '<br/>' + p.name + ' at ' + p.lock_created ;
+ });
+ var _t = this;
+ Roo.MessageBox.confirm("Confirm breaking locks", msg, function(r) {
+ if (r != 'yes') {
+ return;
+ }
+ _t.callLock(1);
+ });
+
+
+
+
+ },