elofgren: BUGFIX: Fix gsoc track Ticket #18: "Undefined" Error When Managing Newsletters in Safari

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41883 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-15 01:13:44 +00:00
parent 1fe66c0bf4
commit 40a87888a3

View File

@ -416,9 +416,11 @@ treeactions = {
} }
function fixHeight_left() { function fixHeight_left() {
if($('treepanes')) fitToParent('treepanes'); if($('treepanes')) {
var st = $('treepanes'); fitToParent('treepanes');
if(st.resize) st.resize(); var st = $('treepanes');
if(st.resize) st.resize();
}
else fitToParent('sitetree_holder'); else fitToParent('sitetree_holder');
} }