From 0ff8350803a94f4041e74dd36f60e625263fbbe1 Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 25 May 2012 17:36:52 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 6 +++--- Pman.Dialog.CoreNotifyRecur.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index c328df7e..caa6043f 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -1,9 +1,9 @@ { - "id": "roo-file-94", + "id": "roo-file-0", "name": "Pman.Dialog.CoreNotifyRecur", "parent": "", "title": "", - "path": "/home/alan/gitlive/Pman.Core/Pman.Dialog.CoreNotifyRecur.bjs", + "path": "/home/chris/gitlive/Pman.Core/Pman.Dialog.CoreNotifyRecur.bjs", "items": [ { "listeners": { @@ -86,7 +86,7 @@ "items": [ { "listeners": { - "|click": "function()\n{\n var grid = _this.grid;\n var r = grid.getDataSource().reader.newRow({\n // defaults..\n person_id : _this.data.person_id,\n dtstart : new Date(),\n dtend : Date.parseDate('2050-01-01', 'Y-m-d'),\n tz : 'Asia/Hong Kong',\n onid : _this.data.onid,\n ontable : _this.data.ontable,\n method : _this.data.method,\n last_event_id : 0,\n freq_day_name : '',\n freq_hour_name : '',\n freq_name : ''\n \n \n });\n grid.stopEditing();\n grid.getDataSource().insert(0, r); \n grid.startEditing(0, 2); \n \n\n}\n" + "|click": "function()\n{\n var grid = _this.grid;\n var r = grid.getDataSource().reader.newRow({\n // defaults..\n person_id : _this.data.person_id,\n dtstart : new Date(),\n dtend : Date.parseDate('2050-01-01', 'Y-m-d'),\n tz : 'Asia/Hong_Kong',\n onid : _this.data.onid,\n ontable : _this.data.ontable,\n method : _this.data.method,\n last_event_id : 0,\n freq_day_name : '',\n freq_hour_name : '',\n freq_name : ''\n \n \n });\n grid.stopEditing();\n grid.getDataSource().insert(0, r); \n grid.startEditing(0, 2); \n \n\n}\n" }, "cls": "x-btn-text-icon", "text": "Add", diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 2b3e116b..6e9777c5 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -213,7 +213,7 @@ Pman.Dialog.CoreNotifyRecur = { person_id : _this.data.person_id, dtstart : new Date(), dtend : Date.parseDate('2050-01-01', 'Y-m-d'), - tz : 'Asia/Hong Kong', + tz : 'Asia/Hong_Kong', onid : _this.data.onid, ontable : _this.data.ontable, method : _this.data.method, -- 2.39.2