2 "name" : "Roo.docs.ViewSource",
5 "path" : "/home/alan/gitlive/roojs1/docs/Roo.docs.ViewSource.bjs",
9 "d3d2e617335f08df83599665eef8a418" : "Close",
10 "89babd10371e21bb9eaf39937de7c656" : "View Source"
15 "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(\"<PRE>{0}</PRE>\",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}"
19 "Boolean fitwindow" : true,
20 "int max_width" : 900,
21 "$ xns" : "Roo.bootstrap",
22 "String title" : "View Source",
26 "render" : "function (_self)\n{\n_this.body_ctr = this;\n}"
28 "xtype" : "Container",
29 "$ xns" : "Roo.bootstrap",
30 "String style" : "width: 100%;overflow:auto;height:100%;"
34 "render" : "function (_self)\n{\n _this.acceptBtn = this;\n \n}\n",
35 "click" : "function (_self, e)\n{\n _this.dialog.hide();\n \n \n}\n"
38 "$ xns" : "Roo.bootstrap",
39 "String html" : "Close",
40 "string weight" : "primary",
41 "* prop" : "buttons[]"