docs2/Roo.docs.ViewSource.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 11 Jan 2019 08:58:18 +0000 (16:58 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 11 Jan 2019 08:58:18 +0000 (16:58 +0800)
docs2/Roo.docs.ViewSource.js

docs2/Roo.docs.ViewSource.bjs
docs2/Roo.docs.ViewSource.js

index a422da4..8cc9e59 100644 (file)
@@ -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;"
index 3294acd..9b712e9 100644 (file)
@@ -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'
      }