Pman.Dialog.CoreNotifyRecur.bjs
authorEdward <edward@roojs.com>
Mon, 4 May 2015 05:44:06 +0000 (13:44 +0800)
committerEdward <edward@roojs.com>
Mon, 4 May 2015 05:44:06 +0000 (13:44 +0800)
Pman.Dialog.CoreNotifyRecur.js

Pman.Dialog.CoreNotifyRecur.bjs
Pman.Dialog.CoreNotifyRecur.js

index e9223d1..bc24570 100644 (file)
@@ -59,7 +59,7 @@
      "items" : [
       {
        "listeners" : {
-        "cellclick" : "function (_self, rowIndex, columnIndex, e)\n{\n    \n}",
+        "cellclick" : "function (_self, rowIndex, columnIndex, e)\n{\n    var di = this.colModel.getDataIndex(columnIndex);\n    if (di != 'keyword_filters') {\n        return;\n    }\n    \n    \n}",
         "|render" : "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n    //   this.footer.onClick('first');\n    }\n}",
         "afteredit" : "function (e)\n{\n   e.record.commit();\n}"
        },
          "$ renderer" : "function(v) { return String.format('{0}', v ? v : ''); }",
          "$ xns" : "Roo.grid",
          "* prop" : "colModel[]",
-         "dataIndex" : "last_event_id"
+         "dataIndex" : "keyword_filters"
         }
        ]
       }
index 8616aa3..4f9cb31 100644 (file)
@@ -705,7 +705,7 @@ Pman.Dialog.CoreNotifyRecur = {
          },
 {
           '|xns' : 'Roo.grid',
-          dataIndex : 'last_event_id',
+          dataIndex : 'keyword_filters',
           header : _this._strings['867343577fa1f33caa632a19543bd252'],
           renderer : function(v) { return String.format('{0}', v ? v : ''); },
           width : 75,
@@ -720,6 +720,11 @@ Pman.Dialog.CoreNotifyRecur = {
          },
         cellclick : function (_self, rowIndex, columnIndex, e)
          {
+             var di = this.colModel.getDataIndex(columnIndex);
+             if (di != 'keyword_filters') {
+                 return;
+             }
+             
              
          },
         render : function()