Pman.Dialog.AdminEnumImages.bjs
authorbenny <benny@roojs.com>
Thu, 12 Jul 2018 04:49:33 +0000 (12:49 +0800)
committerbenny <benny@roojs.com>
Thu, 12 Jul 2018 04:49:33 +0000 (12:49 +0800)
Pman.Dialog.AdminEnumImages.js

Pman.Dialog.AdminEnumImages.bjs
Pman.Dialog.AdminEnumImages.js

index 443a582..5b51855 100644 (file)
@@ -50,7 +50,7 @@
      "items" : [
       {
        "listeners" : {
-        "|rowdblclick" : "function (_self, rowIndex, e)\n{\n  \n   var s =  _self.getDataSource().getAt(rowIndex);\n     Pman.Dialog.PressReleaseImage.show(s.data, function() {\n                _this.grid.footer.onClick('first');\n               }); \n}",
+        "|rowdblclick" : "function (_self, rowIndex, e)\n{\n  \n   var s =  _self.getDataSource().getAt(rowIndex);\n     Pman.Dialog.Image.show(s.data, function() {\n                _this.grid.footer.onClick('first');\n               }); \n}",
         "|render" : "function() { \n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    //if (_this.panel.active) {\n    //   this.footer.onClick('first');\n    //}\n}"
        },
        "autoExpandColumn" : "title",
index 2d04ad7..d7e140b 100644 (file)
@@ -112,7 +112,7 @@ Pman.Dialog.AdminEnumImages = {
          {
            
             var s =  _self.getDataSource().getAt(rowIndex);
-              Pman.Dialog.PressReleaseImage.show(s.data, function() {
+              Pman.Dialog.Image.show(s.data, function() {
                          _this.grid.footer.onClick('first');
                         }); 
          }