2 "name" : " Pman.Dialog.MTrackMilestoneMerge",
5 "path" : "/home/alan/gitlive/Pman.MTrack/ Pman.Dialog.MTrackMilestoneMerge.bjs",
9 "42a82ba0b10c97ac4db8b51e50a54c93" : "Merge Milestone",
10 "03e956f1dca2b4d525df03cb1899cb6f" : "Merge with",
11 "ea4788705e6873b424c65e91c2846b19" : "Cancel",
12 "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
15 "merge_display_name_fieldLabel" : "03e956f1dca2b4d525df03cb1899cb6f"
20 "show" : "function (_self)\n{\n _this.merge.focus();\n}"
23 "collapsible" : false,
25 "title" : "Merge Milestone",
26 "xtype" : "LayoutDialog",
34 "xtype" : "LayoutRegion",
43 "xtype" : "ContentPanel",
48 "|actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n\n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type == 'submit' ) {\n _this.dialog.el.unmask();\n _this.dialog.hide();\n\n if (_this.callback) {\n _this.callback.call(_this, action.result.data);\n }\n _this.form.reset();\n }\n}\n",
49 "|rendered" : "function (form)\n{\n _this.form = form;\n}"
51 "$ url" : "baseURL + '/Roo/mtrack_milestone'",
54 "style" : "margin: 5px",
59 "render" : "function (_self)\n{\n _this.merge = this;\n}"
62 "Number pageSize" : 50,
63 "Boolean allowBlank" : false,
64 "triggerAction" : "all",
65 "fieldLabel" : "Merge with",
66 "forceSelection" : true,
67 "selectOnFocus" : true,
70 "hiddenName" : "_merge_id",
71 "displayField" : "name",
74 "Number listWidth" : 250,
77 "name" : "merge_display_name",
78 "queryParam" : "query[search]",
79 "tpl" : "<div class=\"x-grid-cell-text x-btn button\">#{id} - <b>{name}</b> - {description} </div>",
83 "|beforeload" : "function (_self, o){\n o.params = o.params || {};\n o.params.project_id = _this.form.findField('project_id').getValue();\n o.params['!id'] = _this.data.id;\n \n}\n"
88 "$ sortInfo" : "{ direction : 'ASC', field: 'id' }",
92 "$ url" : "baseURL + '/Roo/mtrack_milestone.php'",
93 "xtype" : "HttpProxy",
101 "xtype" : "JsonReader",
102 "$ xns" : "Roo.data",
104 "totalProperty" : "total"
112 "$ xns" : "Roo.form",
117 "$ xns" : "Roo.form",
118 "name" : "project_id"
126 "|click" : "function() {\n _this.form.reset();\n _this.dialog.hide();\n}"
131 "* prop" : "buttons[]"
135 "|click" : "function() \n{\n if(typeof(_this.data._confirm) != 'undefined' && _this.data._confirm * 1 == 1){\n Roo.MessageBox.confirm(\n \"Confirm\", \n \"Are you sure '\" + _this.data.display_name + \"' Merge with '\" + _this.form.findField('_merge_id').getRawValue() + \"'\", \n function(res) {\n if(res != 'yes') {\n return;\n }\n \n _this.form.doAction('submit');\n return;\n }\n );\n \n return;\n }\n _this.form.doAction('submit');\n \n}"
140 "* prop" : "buttons[]"