}
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?",
// 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();
}
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;
}