"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\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\n Pman.Dialog.BuilderProp.show({\n xtype : ec.xtype || '',\n xns: ec['|xns'] || '',\n list: 'props'\n }, function (n,val) {\n Roo.log(n);\n Roo.log(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",
xns: ec['|xns'] || '',
list: 'props'
}, function (n,val) {
- ec[n] = val || '';
+ Roo.log(n);
+ Roo.log(val);
+ /* ec[n] = val || '';
_this.grid.setCurrrentNode(_this.grid.currentNode);
var bp = Pman.Tab.BuilderView.panel;
bp.redraw.defer(100,bp, [true]);
// update the tree's text
_this.grid.currentNode.setText(
Pman.Builder.Tree.configToText(_this.grid.currentNode.elConfig)
- );
+ );*/
});
}
},