X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2FRoo.docs.ViewSource.bjs;fp=docs%2FRoo.docs.ViewSource.bjs;h=8ee95a9a996981900b0c63133e0388244cd90b8a;hp=08da87d01ee56fe9f697661d2fd6ceb2f40fa64b;hb=475b2955b6895d91e1fd751ea48db2aa05a5ac3a;hpb=b1da0768aed0ffc12b300174eff724a412fad487 diff --git a/docs/Roo.docs.ViewSource.bjs b/docs/Roo.docs.ViewSource.bjs index 08da87d01e..8ee95a9a99 100644 --- a/docs/Roo.docs.ViewSource.bjs +++ b/docs/Roo.docs.ViewSource.bjs @@ -14,6 +14,7 @@ "listeners" : { "show" : "function (_self)\n{\n // if(_this.data.buttonText){\n // _this.acceptBtn.setText(_this.data.buttonText);\n // }\n \n if (typeof( _this.data.source) == 'undefined') {\n Roo.Ajax.request({\n url : _this.data.src,\n method : 'GET',\n success : function(res, o)\n {\n Roo.docs.ViewSource.show({\n source : String.format(\"
{0}
\",res.responseText),\n fname : _this.data.src.split('/').pop()\n });\n \n },\n scope : this\n });\n \n \n return;\n }\n \n _this.body_ctr.el.dom.innerHTML = _this.data.source;\n _this.body_ctr.el.dom.scrollTop = 0;\n _this.dialog.setTitle(\"View Source: \" + _this.data.fname);\n _this.dialog.el.setStyle('zIndex', '10002');\n \n}" }, + "String size" : "xl", "xtype" : "Modal", "Boolean fitwindow" : true, "int max_width" : 900,