From 4c116e30e7503ea826325c643c30a8f945713f12 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 4 May 2015 13:44:06 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 4 ++-- Pman.Dialog.CoreNotifyRecur.js | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index e9223d1b..bc24570f 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 \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}" }, @@ -422,7 +422,7 @@ "$ renderer" : "function(v) { return String.format('{0}', v ? v : ''); }", "$ xns" : "Roo.grid", "* prop" : "colModel[]", - "dataIndex" : "last_event_id" + "dataIndex" : "keyword_filters" } ] } diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 8616aa3b..4f9cb311 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -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() -- 2.39.2