From: Edward Date: Mon, 4 May 2015 05:44:06 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4c116e30e7503ea826325c643c30a8f945713f12 Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- 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()