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:
Sean Harvey 2008-11-13 23:03:14 +00:00
parent d8c795b7b7
commit 8d370c9cb6

View File

@ -48,7 +48,8 @@ function reloadSiteTree() {
} }
appendLoader(function () { appendLoader(function () {
if(typeof($('sitetree').selected) == 'undefined'); if($('sitetree')) {
var selectedNode = $('sitetree').getElementsByTagName('li')[1]; var selectedNode = $('sitetree').getElementsByTagName('li')[1];
selectedNode.onselect(); selectedNode.onselect();
}
}); });