Pman.Dialog.AdminEnumImages.bjs
[Pman.Admin] / Pman.Dialog.AdminEnumImages.js
index b646866..01d89b5 100644 (file)
@@ -175,14 +175,11 @@ Pman.Dialog.AdminEnumImages = {
                  }
                  var data = _this.grid.getDataSource().getById(s[0].data.id).data;
                 
-                 if (!_this.dialog) {
-                    return;
-                }
-                _this.dialog.show(s[0].data, function() {
-                     _this.grid.ds.load({});
-                }); 
+                         Pman.Dialog.Image.show(data, function() {
+                            _this.grid.footer.onClick('first');
+                           });
                         
-            }
+                    }
           },
           xns : Roo,
           '|xns' : 'Roo'