examples/bootstrap/dashboard1.bjs.QF1JMX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:29:07 +0000 (17:29 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:29:07 +0000 (17:29 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.NEUJMX
examples/bootstrap/dashboard1.js
examples/bootstrap/dashboard1.bjs.EU8AMX
examples/bootstrap/dashboard1.js.Y5TAMX

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

index e021524..1f48b3c 100644 (file)
                                                                                                     "* prop" : "menu",
                                                                                                     "items" : [
                                                                                                         {
+                                                                                                            "listeners" : {
+                                                                                                                "click" : "function (e)\n{\n    _this.httpButton.setText(\"http://\");\n}"
+                                                                                                            },
                                                                                                             "xtype" : "MenuItem",
                                                                                                             "$ xns" : "Roo.bootstrap",
                                                                                                             "String html" : "http://"
index 78d0bcb..a405516 100644 (file)
@@ -391,7 +391,13 @@ dashboard1 = new Roo.XComponent({
                                                                                                {
                                                                                                     xtype : 'MenuItem',
                                                                                                     xns : Roo.bootstrap,
-                                                                                                    html : 'http://'
+                                                                                                    html : 'http://',
+                                                                                                    listeners : {
+                                                                                                       click : function (e)
+                                                                                                          {
+                                                                                                              _this.httpButton.setText("http://");
+                                                                                                          }
+                                                                                                    }
                                                                                                 },
                                                                                                {
                                                                                                     xtype : 'MenuItem',