merge changes for seperator change
[roojs1] / docs / Roo.docs.ViewSource.bjs
1 {
2  "name" : "Roo.docs.ViewSource",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/alan/gitlive/roojs1/docs2/Roo.docs.ViewSource.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "d3d2e617335f08df83599665eef8a418" : "Close",
10   "89babd10371e21bb9eaf39937de7c656" : "View Source"
11  },
12  "items" : [
13   {
14    "listeners" : {
15     "show" : "function (_self)\n{\n  //  if(_this.data.buttonText){\n    //    _this.acceptBtn.setText(_this.data.buttonText);\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}"
16    },
17    "xtype" : "Modal",
18    "Boolean fitwindow" : true,
19    "int max_width" : 900,
20    "$ xns" : "Roo.bootstrap",
21    "String title" : "View Source",
22    "items" : [
23     {
24      "listeners" : {
25       "render" : "function (_self)\n{\n_this.body_ctr = this;\n}"
26      },
27      "xtype" : "Container",
28      "$ xns" : "Roo.bootstrap",
29      "String style" : "width: 100%;overflow:auto;height:100%;"
30     },
31     {
32      "listeners" : {
33       "render" : "function (_self)\n{\n    _this.acceptBtn = this;\n    \n}\n",
34       "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n \n    \n}\n"
35      },
36      "xtype" : "Button",
37      "$ xns" : "Roo.bootstrap",
38      "String html" : "Close",
39      "string weight" : "primary",
40      "* prop" : "buttons[]"
41     }
42    ]
43   }
44  ]
45 }