Pman.Dialog.CoreMailingListMessage.bjs
authorEdward <edward@roojs.com>
Thu, 20 Feb 2014 05:58:58 +0000 (13:58 +0800)
committerEdward <edward@roojs.com>
Thu, 20 Feb 2014 05:58:58 +0000 (13:58 +0800)
Pman.Dialog.CoreMailingListMessage.js

Pman.Dialog.CoreMailingListMessage.bjs
Pman.Dialog.CoreMailingListMessage.js

index 96c030a..b06c00d 100644 (file)
                 },
                 {
                     "listeners": {
-                        "click": "function (_self, e)\n{\n    //_this.dialog.hide();\n    Roo.log(_this.data.module);\n    Pman.Dialog.CoreMailingListMessagePreview.show({ id : _this.form.findField('id').getValue(), module : _this.data.module });\n}",
+                        "click": "function (_self, e)\n{\n    //_this.dialog.hide();\n    Roo.log(_this.data.module);\n    Pman.Dialog.CoreMailingListMessagePreview.show({ id : _this.form.findField('id').getValue(), module : 'Core' });\n}",
                         "render": "function (_self)\n{\n    _this.preview_btn = _self;\n}"
                     },
                     "*prop": "buttons[]",
index 04b23f2..076517d 100644 (file)
@@ -1060,7 +1060,7 @@ Pman.Dialog.CoreMailingListMessage = {
                         {
                             //_this.dialog.hide();
                             Roo.log(_this.data.module);
-                            Pman.Dialog.CoreMailingListMessagePreview.show({ id : _this.form.findField('id').getValue(), module : _this.data.module });
+                            Pman.Dialog.CoreMailingListMessagePreview.show({ id : _this.form.findField('id').getValue(), module : 'Core' });
                         },
                         render : function (_self)
                         {