examples/bootstrap/dashboard1.bjs.HUE0LX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:29:28 +0000 (17:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:29:28 +0000 (17:29 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.YEE0LX
examples/bootstrap/dashboard1.js

examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js

index 1f48b3c..5430194 100644 (file)
                                                                                                             "String html" : "http://"
                                                                                                         },
                                                                                                         {
+                                                                                                            "listeners" : {
+                                                                                                                "click" : "function (e)\n{\n    _this.httpButton.setText(\"https://\");\n}"
+                                                                                                            },
                                                                                                             "xtype" : "MenuItem",
                                                                                                             "$ xns" : "Roo.bootstrap",
                                                                                                             "String html" : "https://"
index a405516..60d46cd 100644 (file)
@@ -402,7 +402,13 @@ dashboard1 = new Roo.XComponent({
                                                                                                {
                                                                                                     xtype : 'MenuItem',
                                                                                                     xns : Roo.bootstrap,
-                                                                                                    html : 'https://'
+                                                                                                    html : 'https://',
+                                                                                                    listeners : {
+                                                                                                       click : function (e)
+                                                                                                          {
+                                                                                                              _this.httpButton.setText("https://");
+                                                                                                          }
+                                                                                                    }
                                                                                                 }
                                                                                             ]