Pman.Tab.BuilderTop.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Jan 2014 14:16:18 +0000 (22:16 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Jan 2014 14:16:18 +0000 (22:16 +0800)
Pman.Tab.BuilderTop.js

Pman.Tab.BuilderTop.bjs
Pman.Tab.BuilderTop.js

index c2c16b9..284ccdb 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-248",
+    "id": "roo-file-171",
     "name": "Pman.Tab.BuilderTop",
     "parent": "Pman.Tab.BuilderTab",
     "title": "Pman.Tab.BuilderTop",
                             "xtype": "Fill"
                         },
                         {
+                            "listeners": {
+                                "select": "function (combo, record, index)\n{\n    Pman.Builder.View.frameUpdateTheme(record.data.name);\n}"
+                            },
                             "allowBlank": false,
                             "displayField": "name",
                             "editable": false,
index 0234c02..8cf93e2 100644 (file)
@@ -447,6 +447,12 @@ Pman.Tab.BuilderTop = new Roo.XComponent({
                     {
                         xtype: 'ComboBox',
                         xns: Roo.form,
+                        listeners : {
+                            select : function (combo, record, index)
+                            {
+                                Pman.Builder.View.frameUpdateTheme(record.data.name);
+                            }
+                        },
                         allowBlank : false,
                         displayField : 'name',
                         editable : false,