3 "name": "Pman.Tab.MTrackMerger",
4 "parent": "Pman.Tab.MTrack",
5 "title": "Pman.Tab.MTrackMerger",
6 "path": "/home/alan/gitlive/Pman.MTrack/Pman.Tab.MTrackMerger.bjs",
10 "activate": "function (_self)\n{\n try {\n var t = _this.tree.tree;\n t.loader.load(t.root);\n } catch(e) {}\n}"
14 "title": "Merge Commits",
15 "xtype": "NestedLayoutPanel",
20 "xtype": "BorderLayout",
27 "xtype": "LayoutRegion",
32 "xtype": "LayoutRegion",
40 "xtype": "LayoutRegion",
45 "render": "function (_self)\n{\n _this.tree = _self;\n}"
60 "click": "function (_self, e)\n{\n var t = _this.tree.tree;\n t.loader.load(t.root);\n}"
70 "click": "function (node, e)\n{\n\n _this.grid.ds.load.defer(100, _this.grid.ds, [ {} ]);\n}"
78 "beforeload": "function (This, node, callback)\n{\n _this.tree.el.mask(\"Loading\");\n}",
79 "load": "function (This, node, response)\n{\n _this.tree.el.unmask();\n _this.tree.tree.root.expand(false,true);\n}",
80 "loadexception": "function (This, node, response)\n{\n _this.tree.el.unmask();\n}"
83 "requestMethod": "GET",
85 "xtype": "TreeLoader",
86 "|baseParams": "{ _tree : 1 }",
87 "|dataUrl": "baseURL + '/MTrack/Merger'",
92 "text": "All Changes",
102 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n //_this.grid.footer.onClick('first');\n }\n}"
105 "fitContainer": true,
108 "tableName": "core_enum",
109 "title": "core_enum",
110 "xtype": "GridPanel",
115 "|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}",
116 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
119 "autoExpandColumn": "etype",
126 "beforeload": "function (_self, options)\n{\n if (!_this.tree.tree.selModel.getSelectedNode()) {\n return false;\n }\n \n options.params = { \n _changedFiles : _this.tree.tree.selModel.getSelectedNode().attributes.rev\n };\n}"
128 "*prop": "dataSource",
131 "|sortInfo": "{ field: 'filename', dir : 'ASC' }",
137 "xtype": "HttpProxy",
138 "|url": "baseURL + '/MTrack/Merger.php'",
145 "totalProperty": "total",
146 "xtype": "JsonReader",
147 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'filename',\n 'type': 'string'\n },\n {\n 'name': 'added',\n 'type': 'int'\n },\n {\n 'name': 'removed',\n 'type': 'int'\n }\n\n]",
154 "singleSelect": false,
155 "xtype": "RowSelectionModel",
165 "|click": "function()\n{\n \n}\n"
167 "cls": "x-btn-text-icon",
168 "text": "Create Commit",
170 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
171 "|xns": "Roo.Toolbar"
176 "*prop": "colModel[]",
177 "dataIndex": "filename",
180 "xtype": "ColumnModel",
181 "|renderer": "function(v) { return String.format('{0}', v); }",
185 "*prop": "colModel[]",
186 "dataIndex": "added",
189 "xtype": "ColumnModel",
190 "|renderer": "function(v) { return String.format('{0}', v); }",
194 "*prop": "colModel[]",
195 "dataIndex": "removed",
198 "xtype": "ColumnModel",
199 "|renderer": "function(v) { return String.format('{0}', v); }",
208 "title": "Review Changes",
209 "xtype": "ContentPanel",