From: Edward Date: Mon, 4 May 2015 05:49:59 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=021471e67ad1442ee082ecbfe2744d4a30f6f88d Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index aed8be43..ac960a3a 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -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 Roo.log(d);\n \n return;\n \n Pman.Dialog.CoreNotifyRecurKeywords.show({}, 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 Roo.log(d);\n \n return;\n \n Pman.Dialog.CoreNotifyRecurKeywords.show({id : d.data.id}, function(res){\n Roo.log(res);\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}" }, diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index f2ef88ee..e17b5026 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -731,7 +731,7 @@ Pman.Dialog.CoreNotifyRecur = { return; - Pman.Dialog.CoreNotifyRecurKeywords.show({}, function(res){ + Pman.Dialog.CoreNotifyRecurKeywords.show({id : d.data.id}, function(res){ Roo.log(res); });