"permname" : "",
"modOrder" : "001",
"strings" : {
- "c4408d335012a56ff58937d78050efad" : "Accept",
- "89babd10371e21bb9eaf39937de7c656" : "View Source",
- "8ae4424e3e8d151789d3bdb669c20e6b" : "<i class='lnr lnr-download'></i> Download"
+ "d3d2e617335f08df83599665eef8a418" : "Close",
+ "89babd10371e21bb9eaf39937de7c656" : "View Source"
},
"items" : [
{
{
"listeners" : {
"render" : "function (_self)\n{\n _this.acceptBtn = this;\n \n}\n",
- "click" : "function (_self, e)\n{\n _this.dialog.hide();\n\n if(_this.callback){\n _this.callback.call(_this);\n }\n \n}\n"
+ "click" : "function (_self, e)\n{\n _this.dialog.hide();\n \n \n}\n"
},
- "| function disableIt" : "function() \n{ \n this.setText('Scroll to end before agree');\n this.disable();\n}",
- "String cls" : "coba-agree-btn",
"xtype" : "Button",
"$ xns" : "Roo.bootstrap",
- "String html" : "Accept",
+ "String html" : "Close",
"string weight" : "primary",
- "* prop" : "buttons[]",
- "| function enableIt" : "function() \n{\n this.setText('Agree');\n \n if(_this.data.buttonText){\n this.setText(_this.data.buttonText);\n }\n \n if(_this.data.btnType) {\n this.setText(this['_'+_this.data.btnType]);\n }\n \n this.enable();\n}"
- },
- {
- "listeners" : {
- "render" : "function (_self)\n{\n _this.download_btn = this;\n}",
- "click" : "function (_self, e)\n{\n window.open(baseURL+'/Download/Popup/'+_this.data.declaration);\n}\n"
- },
- "String cls" : "coba-download-btn",
- "String weight" : "default",
- "xtype" : "Button",
- "$ xns" : "Roo.bootstrap",
- "String html" : "<i class='lnr lnr-download'></i> Download",
"* prop" : "buttons[]"
}
]
Roo.apply(Roo.docs.ViewSource.prototype, {
_strings : {
- 'c4408d335012a56ff58937d78050efad' :"Accept",
- '89babd10371e21bb9eaf39937de7c656' :"View Source",
- '8ae4424e3e8d151789d3bdb669c20e6b' :"<i class='lnr lnr-download'></i> Download"
+ 'd3d2e617335f08df83599665eef8a418' :"Close",
+ '89babd10371e21bb9eaf39937de7c656' :"View Source"
},
dialog : false,
buttons : [
{
xtype : 'Button',
- cls : 'coba-agree-btn',
- disableIt : function()
- {
- this.setText('Scroll to end before agree');
- this.disable();
- },
- enableIt : function()
- {
- this.setText('Agree');
-
- if(_this.data.buttonText){
- this.setText(_this.data.buttonText);
- }
-
- if(_this.data.btnType) {
- this.setText(this['_'+_this.data.btnType]);
- }
-
- this.enable();
- },
- html : _this._strings['c4408d335012a56ff58937d78050efad'] /* Accept */,
+ html : _this._strings['d3d2e617335f08df83599665eef8a418'] /* Close */,
weight : 'primary',
listeners : {
click : function (_self, e)
{
_this.dialog.hide();
-
- if(_this.callback){
- _this.callback.call(_this);
- }
+
},
render : function (_self)
},
xns : Roo.bootstrap,
'|xns' : 'Roo.bootstrap'
- },
- {
- xtype : 'Button',
- cls : 'coba-download-btn',
- html : _this._strings['8ae4424e3e8d151789d3bdb669c20e6b'] /* <i class='lnr lnr-download'></i> Download */,
- weight : 'default',
- listeners : {
- click : function (_self, e)
- {
- window.open(baseURL+'/Download/Popup/'+_this.data.declaration);
- },
- render : function (_self)
- {
- _this.download_btn = this;
- }
- },
- xns : Roo.bootstrap,
- '|xns' : 'Roo.bootstrap'
}
],
items : [