Pman.Dialog.CoreNotifyRecur.bjs
authorEdward <edward@roojs.com>
Mon, 4 May 2015 07:55:32 +0000 (15:55 +0800)
committerEdward <edward@roojs.com>
Mon, 4 May 2015 07:55:32 +0000 (15:55 +0800)
Pman.Dialog.CoreNotifyRecur.js

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

index 1d22a1b..78d2696 100644 (file)
@@ -59,7 +59,7 @@
      "items" : [
       {
        "listeners" : {
-        "cellclick" : "function (_self, rowIndex, columnIndex, e)\n{\n    var di = this.colModel.getDataIndex(columnIndex);\n    if (di != 'keyword_filters') {\n        return;\n    }\n    \n    var d = this.ds.getAt(rowIndex);\n    \n    if(!d || d.data.id * 1 < 1){\n        return;\n    }\n    \n    Pman.Dialog.CoreNotifyRecurKeywords.show({id : d.data.id}, function(res){\n        Roo.log(res);\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    var d = this.ds.getAt(rowIndex);\n    \n    if(!d || d.data.id * 1 < 1){\n        return;\n    }\n    \n    Pman.Dialog.CoreNotifyRecurKeywords.show({id : d.data.id}, function(res){\n        _this.grid.ds.load({});\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}"
        },
index 46871bf..426a3fb 100644 (file)
@@ -732,7 +732,7 @@ Pman.Dialog.CoreNotifyRecur = {
              }
              
              Pman.Dialog.CoreNotifyRecurKeywords.show({id : d.data.id}, function(res){
-                 Roo.log(res);
+                 _this.grid.ds.load({});
              });
              
          },