Index: branches/5.2.x/core/admin_templates/tree.tpl
===================================================================
diff -u -r15905 -r16293
--- branches/5.2.x/core/admin_templates/tree.tpl (.../tree.tpl) (revision 15905)
+++ branches/5.2.x/core/admin_templates/tree.tpl (.../tree.tpl) (revision 16293)
@@ -13,15 +13,18 @@
}
function onTreeFrameResize() {
- var $frameset = $('#sub_frameset', window.parent.document);
- if (!$frameset.length) {
- return ;
+ var $menu_frame = $('#menu_frame', window.parent.document),
+ $width;
+
+ if (!$menu_frame.length) {
+ return;
}
- var $width = $frameset.attr('cols').split(',')[0];
- if (($width <= 0) || ($width == $last_width)) {
+ $width = $menu_frame.width();
+
+ if (($width <= 0) || ($width == $last_width)) {
// don't save zero width
- return ;
+ return;
}
clearTimeout($save_timer);
@@ -193,4 +196,4 @@
-
\ No newline at end of file
+
Index: branches/5.2.x/core/admin_templates/index.tpl
===================================================================
diff -u -r15445 -r16293
--- branches/5.2.x/core/admin_templates/index.tpl (.../index.tpl) (revision 15445)
+++ branches/5.2.x/core/admin_templates/index.tpl (.../index.tpl) (revision 16293)
@@ -40,7 +40,7 @@