"items": [
{
"listeners": {
- "click": "function (_self, e)\n{\n \n // show a dialog to select property??\n // or should we add a line and get clever with pulldowns..\n var ec = _this.grid.currentNode.elConfig;\n Pman.Dialog.BuilderProp.show({\n xtype : ec.xtype || '',\n xns: ec['|xns'] || '',\n list: 'props'\n }, function (n,val) {\n ec[n] = val || '';\n _this.grid.setCurrrentNode(_this.grid.currentNode);\n var bp = Pman.Tab.BuilderView.panel;\n bp.redraw.defer(100,bp, [true]);\n // update the tree's text\n _this.grid.currentNode.setText(\n Pman.Builder.Tree.configToText(_this.grid.currentNode.elConfig)\n );\n });\n}"
+ "click": "function (_self, e)\n{\n \n // show a dialog to select property??\n // or should we add a line and get clever with pulldowns..\n var ec = _this.grid.currentNode.elConfig;\n Roo.log(ec);\n Pman.Dialog.BuilderProp.show({\n xtype : ec.xtype || '',\n xns: ec['|xns'] || '',\n list: 'props'\n }, function (n,val) {\n ec[n] = val || '';\n _this.grid.setCurrrentNode(_this.grid.currentNode);\n var bp = Pman.Tab.BuilderView.panel;\n bp.redraw.defer(100,bp, [true]);\n // update the tree's text\n _this.grid.currentNode.setText(\n Pman.Builder.Tree.configToText(_this.grid.currentNode.elConfig)\n );\n });\n}"
},
"text": "Add Property",
"xtype": "Item",
// show a dialog to select property??
// or should we add a line and get clever with pulldowns..
var ec = _this.grid.currentNode.elConfig;
+ Roo.log(ec);
Pman.Dialog.BuilderProp.show({
xtype : ec.xtype || '',
xns: ec['|xns'] || '',