From 6db3766d2ae3b04da3f60f6af2f1ab46770672db Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Sep 2014 17:28:34 +0800 Subject: [PATCH] examples/bootstrap/dashboard1.bjs.9V1EMX examples/bootstrap/dashboard1.bjs examples/bootstrap/dashboard1.js.L8XEMX examples/bootstrap/dashboard1.js --- examples/bootstrap/dashboard1.bjs | 3 +++ examples/bootstrap/dashboard1.js | 6 ++++++ 2 files changed, 9 insertions(+) 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 : [ ] -- 2.39.2