From: Alan Knowles Date: Fri, 11 Jan 2019 08:58:18 +0000 (+0800) Subject: docs2/Roo.docs.ViewSource.bjs X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=2ce575b855f5c28cafd7f1642cbfcb6b762903da docs2/Roo.docs.ViewSource.bjs docs2/Roo.docs.ViewSource.js --- diff --git a/docs2/Roo.docs.ViewSource.bjs b/docs2/Roo.docs.ViewSource.bjs index a422da496f..8cc9e59bf3 100644 --- a/docs2/Roo.docs.ViewSource.bjs +++ b/docs2/Roo.docs.ViewSource.bjs @@ -21,6 +21,9 @@ "String title" : "View Source", "items" : [ { + "listeners" : { + "render" : "function (_self)\n{\n_this.body_ctr = this;\n}" + }, "xtype" : "Container", "$ xns" : "Roo.bootstrap", "String style" : "width: 100%;overflow:auto;" diff --git a/docs2/Roo.docs.ViewSource.js b/docs2/Roo.docs.ViewSource.js index 3294acd098..9b712e9378 100644 --- a/docs2/Roo.docs.ViewSource.js +++ b/docs2/Roo.docs.ViewSource.js @@ -82,6 +82,12 @@ Roo.apply(Roo.docs.ViewSource.prototype, { { xtype : 'Container', style : 'width: 100%;overflow:auto;', + listeners : { + render : function (_self) + { + _this.body_ctr = this; + } + }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' }