X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.CoreNotifyRecur.js;h=1a09714f3caf00fd08ce812c14820852b7666bde;hp=7fdd1350368e3e198780b17706ef9144beafe38e;hb=586e4eb470252d837ba18b67e4c3c1702131fd1d;hpb=cc771a0270ee3becd3f8230473ae1abddac85445 diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 7fdd1350..1a09714f 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -14,7 +14,6 @@ Pman.Dialog.CoreNotifyRecur = { '157e432ec303efd7d537b653cb255ccc' :"on day(s)", '236df51bb0e6416236e255b528346fca' :"Timezone", '44c68bed631ff6e62aecc4a4d32176e6' :"Select timezone", - '867343577fa1f33caa632a19543bd252' :"Keywords", '1243daf593fa297e07ab03bf06d925af' :"Searching...", 'b26686c0a708faee42861d8b905e882e' :"Last Sent", 'c1d32776cd2d2afcd2c45a52f58679f4' :"Modify Recurrent Notifications", @@ -60,7 +59,7 @@ Pman.Dialog.CoreNotifyRecur = { '|xns' : 'Roo', height : 550, modal : true, - resizable : false, + resizable : true, title : _this._strings['c1d32776cd2d2afcd2c45a52f58679f4'], width : 800, xns : Roo, @@ -514,7 +513,7 @@ Pman.Dialog.CoreNotifyRecur = { return String.format('{0}', r.data.freq_day_name || v); }, - width : 100, + width : 150, xns : Roo.grid, xtype : 'ColumnModel', items : [ @@ -702,17 +701,6 @@ Pman.Dialog.CoreNotifyRecur = { width : 75, xns : Roo.grid, xtype : 'ColumnModel' - }, -{ - '|xns' : 'Roo.grid', - dataIndex : 'keyword_filters', - header : _this._strings['867343577fa1f33caa632a19543bd252'], - renderer : function(v) { - return String.format('{0}', v ? v : ''); - }, - width : 75, - xns : Roo.grid, - xtype : 'ColumnModel' } ], listeners : { @@ -720,24 +708,6 @@ Pman.Dialog.CoreNotifyRecur = { { e.record.commit(); }, - cellclick : function (_self, rowIndex, columnIndex, e) - { - var di = this.colModel.getDataIndex(columnIndex); - if (di != 'keyword_filters') { - return; - } - - var d = this.ds.getAt(rowIndex); - - if(!d || d.data.id * 1 < 1){ - return; - } - - Pman.Dialog.CoreNotifyRecurKeywords.show({id : d.data.id}, function(res){ - _this.grid.ds.load({}); - }); - - }, render : function() { _this.grid = this;