From: Alan Knowles Date: Thu, 11 Sep 2014 09:28:34 +0000 (+0800) Subject: examples/bootstrap/dashboard1.bjs.9V1EMX X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=6db3766d2ae3b04da3f60f6af2f1ab46770672db;p=roojs1 examples/bootstrap/dashboard1.bjs.9V1EMX examples/bootstrap/dashboard1.bjs examples/bootstrap/dashboard1.js.L8XEMX examples/bootstrap/dashboard1.js --- diff --git a/examples/bootstrap/dashboard1.bjs b/examples/bootstrap/dashboard1.bjs index 9d275dd793..e0215243c7 100644 --- a/examples/bootstrap/dashboard1.bjs +++ b/examples/bootstrap/dashboard1.bjs @@ -367,6 +367,9 @@ "string size" : "md", "items" : [ { + "listeners" : { + "render" : "function (_self)\n{\n _this.httpButton = _self;\n}" + }, "String weight" : "primary", "xtype" : "Button", "$ xns" : "Roo.bootstrap", diff --git a/examples/bootstrap/dashboard1.js b/examples/bootstrap/dashboard1.js index 88f197af18..78d0bcba94 100644 --- a/examples/bootstrap/dashboard1.js +++ b/examples/bootstrap/dashboard1.js @@ -405,6 +405,12 @@ dashboard1 = new Roo.XComponent({ xtype : 'Button', xns : Roo.bootstrap, html : 'http://', + listeners : { + render : function (_self) + { + _this.httpButton = _self; + } + }, items : [ ]