3 "name": "Pman.Dialog.CoreAutoSavePreview",
6 "path": "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreAutoSavePreview.bjs",
15 "title": "Saved Version",
17 "xtype": "LayoutDialog",
23 "xtype": "LayoutRegion",
30 "xtype": "LayoutRegion",
35 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n _this.grid.footer.onClick('first');\n }\n}"
41 "tableName": "Events",
48 "|render": "function() { \n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}"
51 "autoExpandColumn": "remarks",
58 "afterselectionchange": "function (_self)\n{\n // load detail log in _this.viewPanel;\n if (!this.getSelected()) {\n this.viewPanel.setContent(\"Nothing Selected\");\n return;\n }\n var id = this.getSelected().data.id;\n _this.viewPanel.load( { url : baseURL + \"/Admin/EventView/\" + id + \".html\" });\n \n}"
62 "xtype": "RowSelectionModel",
67 "|beforeload": "function (_self, o)\n{\n Roo.log(_this.data);\n o.params = o.parmas || {};\n o.action = 'AUTOSAVE'\n}"
69 "*prop": "dataSource",
72 "|sortInfo": "{ field: 'event_when', direction: 'DESC'}",
77 "xtype": "JsonReader",
78 "totalProperty": "total",
82 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'person_name',\n 'type': 'string'\n },\n {\n 'name': 'event_when',\n 'type': 'date',\n 'dateFormat': 'Y-m-d'\n },\n {\n 'name': 'action',\n 'type': 'string'\n },\n {\n 'name': 'ipaddr',\n 'type': 'string'\n },\n {\n 'name': 'on_id',\n 'type': 'int'\n },\n {\n 'name': 'on_table',\n 'type': 'string'\n },\n {\n 'name': 'person_id',\n 'type': 'int'\n },\n {\n 'name': 'remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_office_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_name',\n 'type': 'string'\n },\n {\n 'name': 'person_id_phone',\n 'type': 'string'\n },\n {\n 'name': 'person_id_fax',\n 'type': 'string'\n },\n {\n 'name': 'person_id_email',\n 'type': 'string'\n },\n {\n 'name': 'person_id_company_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_role',\n 'type': 'string'\n },\n {\n 'name': 'person_id_active',\n 'type': 'int'\n },\n {\n 'name': 'person_id_remarks',\n 'type': 'string'\n },\n {\n 'name': 'person_id_passwd',\n 'type': 'string'\n },\n {\n 'name': 'person_id_owner_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_lang',\n 'type': 'string'\n },\n {\n 'name': 'person_id_no_reset_sent',\n 'type': 'int'\n },\n {\n 'name': 'person_id_action_type',\n 'type': 'string'\n },\n {\n 'name': 'person_id_project_id',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_by',\n 'type': 'int'\n },\n {\n 'name': 'person_id_deleted_dt',\n 'type': 'date'\n }\n]"
88 "|url": "baseURL + '/Roo/Events.php'",
97 "displayMsg": "{0} - {1} of {2}",
98 "emptyMsg": "Nothing found",
100 "xtype": "PagingToolbar",
104 "*prop": "colModel[]",
105 "dataIndex": "event_when",
108 "xtype": "ColumnModel",
109 "|renderer": "function(v) { return v ? v.dateFormat('d/m/Y H:i') : ''; }",
113 "*prop": "colModel[]",
114 "dataIndex": "on_table",
115 "header": "Affected",
117 "xtype": "ColumnModel",
118 "|renderer": "function(v) { \n return String.format('{0})', v ? v : ''); \n}",
127 "xtype": "ContentPanel"
131 "|click": "function() {\n _this.dialog.hide();\n}"
133 "*prop": "buttons[]",
140 "|click": "function() {\n _this.dialog.hide();\n}"
142 "*prop": "buttons[]",