mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
#1514 - JavaScript error when closing Page Version History section
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43918 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
104e29c9fa
commit
b6d828a2d6
@ -331,8 +331,10 @@ VersionList.prototype = {
|
|||||||
this.ajaxGetPanel(this.afterPanelLoaded);
|
this.ajaxGetPanel(this.afterPanelLoaded);
|
||||||
},
|
},
|
||||||
onclose : function() {
|
onclose : function() {
|
||||||
$('Form_EditForm').getPageFromServer(this.idLoaded);
|
if(this.idLoaded) {
|
||||||
$('viewArchivedSite').style.display = 'none';
|
$('Form_EditForm').getPageFromServer(this.idLoaded);
|
||||||
|
}
|
||||||
|
$('viewArchivedSite').style.display = 'none';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user