Pman.Dialog.CoreNotifyRecur.bjs
[Pman.Core] / Pman.Dialog.CoreNotifyRecur.bjs
index fa7f737..e9223d1 100644 (file)
@@ -13,6 +13,7 @@
   "157e432ec303efd7d537b653cb255ccc" : "on day(s)",
   "236df51bb0e6416236e255b528346fca" : "Timezone",
   "44c68bed631ff6e62aecc4a4d32176e6" : "Select timezone",
+  "867343577fa1f33caa632a19543bd252" : "Keywords",
   "1243daf593fa297e07ab03bf06d925af" : "Searching...",
   "b26686c0a708faee42861d8b905e882e" : "Last Sent",
   "c1d32776cd2d2afcd2c45a52f58679f4" : "Modify Recurrent Notifications",
@@ -58,7 +59,7 @@
      "items" : [
       {
        "listeners" : {
-        "|rowdblclick" : "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n",
+        "cellclick" : "function (_self, rowIndex, columnIndex, e)\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}"
        },
         {
          "xtype" : "ColumnModel",
          "header" : "at Hour(s)",
-         "width" : 250,
+         "width" : 100,
          "$ renderer" : "function(v,x,r) { \n    \n \n    if (v.length) {\n     \n        var cm = _this.grid.colModel;\n       \n        var ci = cm.getColumnByDataIndex(this.name);\n       \n         var tv = [];\n        var vals = Roo.decode(v);\n        Roo.each(vals, function(k) {\n            var r = this.findRecord(this.valueField, k);\n            if(r){\n                tv.push(r.data[this.displayField]);\n            }else if(this.valueNotFoundText !== undefined){\n                tv.push( this.valueNotFoundText );\n            }\n        },ci.editor.field);\n\n         r.data[this.name + '_name'] = tv.join(', ');\n        return String.format('{0}',tv.join(', '));\n\n        \n    \n    }\n        r.data[this.name + '_name'] = '';\n    return String.format('{0}', r.data.freq_hour_name || v); \n    \n}",
          "$ xns" : "Roo.grid",
          "* prop" : "colModel[]",
         },
         {
          "xtype" : "ColumnModel",
-         "header" : "Last Sent",
+         "header" : "Keywords",
          "width" : 75,
-         "$ renderer" : "function(v) { return String.format('{0}', v ? v : 'never'); }",
+         "$ renderer" : "function(v) { return String.format('{0}', v ? v : ''); }",
          "$ xns" : "Roo.grid",
          "* prop" : "colModel[]",
          "dataIndex" : "last_event_id"