Pman.Tab.BAdminEmailTemplates.bjs
authorEdward <edward@roojs.com>
Fri, 14 Sep 2018 03:14:41 +0000 (11:14 +0800)
committerEdward <edward@roojs.com>
Fri, 14 Sep 2018 03:14:41 +0000 (11:14 +0800)
Pman.Tab.BAdminEmailTemplates.js

Pman.Tab.BAdminEmailTemplates.bjs
Pman.Tab.BAdminEmailTemplates.js

index 9804dcf..caef30c 100644 (file)
         {
          "listeners" : {
           "rowdblclick" : "function (_self, el, rowIndex, e)\n{\n    if (!_this.dialog) {\n        return;\n    }\n    \n    //var data = this.getDataSource().getAt(rowIndex).data;\n    var data = _this.table.store.getAt(rowIndex).data;\n    \n    _this.dialog.show( {id : data.id, module : 'core_email'} , function() {\n        \n        _this.table.footer.onClick('first');\n    }); \n}",
-          "cellclick" : "function (_self, el, rowIndex, columnIndex, e)\n{\n    var di = this.colModel.getDataIndex(columnIndex);\n    \n     if(di != 'active'){\n         return;\n     }\n     \n     var r = this.store.getAt(rowIndex);\n     \n     window.location.href = baseURL + '/JobsApply/' + r.data.id\n}",
+          "cellclick" : "function (_self, el, rowIndex, columnIndex, e)\n{\n    var di = this.colModel.getDataIndex(columnIndex);\n    \n     if(di != 'active'){\n         return;\n     }\n     \n     var r = this.store.getAt(rowIndex);\n     \n     Roo.log(r);\n     \n}",
           "render" : "function (_self)\n{\n    \n    _this.table = this;\n    \n    _this.dialog = Pman.Dialog.BAdminEmail;\n}"
          },
          "Boolean cellSelection" : true,
index 891a2b8..a2ad1a6 100644 (file)
@@ -358,7 +358,8 @@ Pman.Tab.BAdminEmailTemplates = new Roo.XComponent({
               
               var r = this.store.getAt(rowIndex);
               
-              window.location.href = baseURL + '/JobsApply/' + r.data.id
+              Roo.log(r);
+              
          },
         render : function (_self)
          {