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

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

index d4eef41..2e95e73 100644 (file)
@@ -14,8 +14,8 @@
    "listeners" : {
     "show" : "function (_self)\n{\n  //  if(_this.data.buttonText){\n    //    _this.acceptBtn.setText(_this.data.buttonText);\n   // }\n    \n     \n   \n    \n    _this.dialog.el.setStyle('zIndex', '10002');\n    \n}"
    },
-   "string fit_content" : true,
    "xtype" : "Modal",
+   "Boolean fitwindow" : true,
    "int max_width" : 900,
    "$ xns" : "Roo.bootstrap",
    "String title" : "View Source",
index 3e2b984..6e9f1b8 100644 (file)
@@ -37,7 +37,7 @@ Roo.apply(Roo.docs.ViewSource.prototype, {
   var _this = this;
   this.dialog = Roo.factory({
     xtype : 'Modal',
-    fit_content : true,
+    fitwindow : true,
     max_width : 900,
     title : _this._strings['89babd10371e21bb9eaf39937de7c656'] /* View Source */,
     listeners : {