Pman.Tab.BuilderProps.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 31 Dec 2010 10:11:53 +0000 (18:11 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 31 Dec 2010 10:11:53 +0000 (18:11 +0800)
Pman.Tab.BuilderProps.js

index de26dfc..aae2ca8 100644 (file)
@@ -215,6 +215,14 @@ Pman.Tab.BuilderProps = new Roo.util.Observable({
                              
                                 // show a dialog to select property??
                                 // or should we add a line and get clever with pulldowns..
+                                var ec = _this.grid.currentNode.elConfig;
+                                Pman.Dialog.BuilderProps.show({
+                                        xtype : ec.xtype  || '',
+                                        xns: ec.xns || '',
+                                        list: 'prop'
+                                }, function (n,val) {
+                                    ec[n] = val || '';
+                                });
                             }
                         },
                         text : "Add Property"