Pman.Dialog.CoreAutoSavePreview.js
"items": [
{
"listeners": {
- "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n Roo.log('call show?');\n Roo.log(_this.grid.getSelectionModel().getSelected());\n if (!_this.grid.getSelectionModel().getSelected()) {\n _this.source = '';\n _this.viewPanel.setContent(\"Please select a version on the left\");\n }\n \n}"
+ "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n \n}"
},
"background": false,
"closable": false,
if(typeof(_this.data) != 'undefined'){
_this.grid.footer.onClick('first');
}
- Roo.log('call show?');
- Roo.log(_this.grid.getSelectionModel().getSelected());
- if (!_this.grid.getSelectionModel().getSelected()) {
- _this.source = '';
- _this.viewPanel.setContent("Please select a version on the left");
- }
}
},