DataObjects/Core_notify.php
[Pman.Core] / Pman.js
diff --git a/Pman.js b/Pman.js
index cc0dc0f..c3df8c2 100644 (file)
--- a/Pman.js
+++ b/Pman.js
@@ -555,7 +555,7 @@ Pman = new Roo.Document(
         }
         var reader = tab.grid.reader || tab.grid.ds.reader;
         for(var i = 0; i < s.length; i++) {
-            r.push(reader.getId(s[i]));
+            r.push(reader.getId(s[i].json));
         }
     
         Roo.MessageBox.confirm("Confirm", "Are you sure you want to delete that?",
@@ -579,7 +579,7 @@ Pman = new Roo.Document(
                             // new xtype built grids
                             tab.grid.footer.onClick('refresh');   
                         } else if (tab.refresh) {
-                            tab.refresh();
+                            tab.refresh(); // this might cause problems as panels have a refresh method?
                         } else {
                             tab.grid.getDataSource().load();
                         }
@@ -810,7 +810,7 @@ Pman = new Roo.Document(
         
         
         if (obj.parent === Pman || obj.parent  == 'Pman') {
-            Roo.log("PARENT OF : " + obj.name + " replacing with fake");
+            // Roo.log("PARENT OF : " + obj.name + " replacing with fake");
             obj.parent = Pman.fakeRoot;
         }