{
- "id": "roo-file-171",
+ "id": "roo-file-200",
"name": "Pman.Tab.BuilderTop",
"parent": "Pman.Tab.BuilderTab",
"title": "Pman.Tab.BuilderTop",
- "path": "/home/alan/gitlive/Pman.Builder/Pman.Tab.BuilderTop.bjs",
+ "path": "/home/edward/gitlive/Pman.Builder/Pman.Tab.BuilderTop.bjs",
"items": [
{
"background": true,
"items": [
{
"listeners": {
- "click": "function (_self, e)\n{\n if (!_this.modsel.getValue()) {\n Roo.MessageBox.alert(\"Error\", \"Select Module\");\n return false;\n }\n if (!_this.filesel.getValue()) {\n Roo.MessageBox.alert(\"Error\", \"Select Part\");\n return false;\n }\n Pman.Dialog.BuilderPart.show( {\n id : _this.filesel.getValue(),\n module_id: _this.modsel.getValue() \n } ,\n function(data) {\n _this.filesel.reset();\n if (!data.id) {\n return;\n }\n _this.filesel.setfromdata(data);\n \n pt.loadBJS(_this.modsel.getValue(), _this.filesel.getValue())\n });\n\n}"
+ "click": "function (_self, e)\n{\n if (!_this.modsel.getValue()) {\n Roo.MessageBox.alert(\"Error\", \"Select Module\");\n return false;\n }\n if (!_this.filesel.getValue()) {\n Roo.MessageBox.alert(\"Error\", \"Select Part\");\n return false;\n }\n Pman.Dialog.BuilderPart.show( {\n id : _this.filesel.getValue(),\n module_id: _this.modsel.getValue() \n } ,\n function(data) {\n //_this.filesel.reset();\n if (!data.id) {\n return;\n }\n _this.filesel.setFromData(data);\n // set the part name on the json..\n \n \n pt.loadBJS(_this.modsel.getValue(), _this.filesel.getValue())\n });\n\n}"
},
"text": "Rename",
"xtype": "Item",