mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merged in change from branches/2.3 - r65860
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65882 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d8c795b7b7
commit
8d370c9cb6
@ -48,7 +48,8 @@ function reloadSiteTree() {
|
||||
}
|
||||
|
||||
appendLoader(function () {
|
||||
if(typeof($('sitetree').selected) == 'undefined');
|
||||
var selectedNode = $('sitetree').getElementsByTagName('li')[1];
|
||||
selectedNode.onselect();
|
||||
if($('sitetree')) {
|
||||
var selectedNode = $('sitetree').getElementsByTagName('li')[1];
|
||||
selectedNode.onselect();
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user