sync
[Pman.Admin] / Pman.Dialog.AdminEnumImages.js
index b646866..9ac979c 100644 (file)
@@ -174,13 +174,10 @@ Pman.Dialog.AdminEnumImages = {
                    return;
                  }
                  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');
+                   });
                         
             }
           },