summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
08d39cd)
Pman.Dialog.CoreAutoSavePreview.js
"items": [
{
"listeners": {
"items": [
{
"listeners": {
- "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n \n _this.source = '';\n \n _this.viewPanel.setContent(\"Please select a version on the left\");\n \n}"
+ "show": "function (_self)\n{\n if(typeof(_this.data) != 'undefined'){\n _this.grid.footer.onClick('first');\n }\n \n if (!_this.grid.getSelectionModel().getSelected()) {\n _this.source = '';\n _this.viewPanel.setContent(\"Please select a version on the left\");\n }\n \n \n \n}"
},
"background": false,
"closable": false,
},
"background": false,
"closable": false,
_this.grid.footer.onClick('first');
}
_this.grid.footer.onClick('first');
}
+ if (!_this.grid.getSelectionModel().getSelected()) {
+ _this.source = '';
+ _this.viewPanel.setContent("Please select a version on the left");
+ }
+
- _this.viewPanel.setContent("Please select a version on the left");