From: benny Date: Thu, 12 Jul 2018 04:49:33 +0000 (+0800) Subject: Pman.Dialog.AdminEnumImages.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=fd741d9e03fc467718efa8cbcdb15637c7f55e91 Pman.Dialog.AdminEnumImages.bjs Pman.Dialog.AdminEnumImages.js --- diff --git a/Pman.Dialog.AdminEnumImages.bjs b/Pman.Dialog.AdminEnumImages.bjs index 443a582..5b51855 100644 --- a/Pman.Dialog.AdminEnumImages.bjs +++ b/Pman.Dialog.AdminEnumImages.bjs @@ -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", diff --git a/Pman.Dialog.AdminEnumImages.js b/Pman.Dialog.AdminEnumImages.js index 2d04ad7..d7e140b 100644 --- a/Pman.Dialog.AdminEnumImages.js +++ b/Pman.Dialog.AdminEnumImages.js @@ -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'); }); }