Pman.Tab.AdminEnum.bjs
[Pman.Admin] / Pman.Tab.AdminEnum.js
index f8f7d81..116a9d7 100644 (file)
@@ -534,8 +534,8 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
                     return;
                 }
                 
-                Roo.log(ds.data.id);
-                Pman.Dialog.Image.show({onid:ds.data.id}, function(){
+                Roo.log(ds);
+                Pman.Dialog.AdminEnumImages.show({onid:ds.data.id}, function(){
                     _this.grid.footer.onClick('first');
                 });
                 
@@ -647,7 +647,8 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
           listeners : {
            click : function()
             {
-                var s = _this.grid.getSelectionModel().getSelectedCell();
+                
+                var s = _this.grid.getSelectionModel().getSelections();
                 
                 if (!s.length)  {
                     Roo.MessageBox.alert("Error", "Select a Row");