From e16ca862f40cfc81c845c1ee1a9bb0e7ae39e260 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 23 Apr 2010 16:48:17 +0000 Subject: [PATCH] Fix in last commit --- src/webui/scripts/client.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index a4ad7ab8b..cc9f81762 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -184,24 +184,6 @@ window.addEvent('load', function(){ column: 'filtersColumn', height: 300 }); - var prop_h = Cookie.read('properties_height'); - if($defined(prop_h)) - prop_h = prop_h.toInt(); - else - prop_h = 200; - new MochaUI.Panel({ - id: 'properties', - title: 'Panel', - header: true, - padding: { top: 0, right: 0, bottom: 0, left: 0 }, - contentURL: 'prop-general.html', - require: { - css: ['css/Tabs.css'] - }, - tabsURL: 'properties.html', - column: 'mainColumn', - height: prop_h - }); initializeWindows(); var r=0; var waiting=false; @@ -318,6 +300,24 @@ window.addEvent('load', function(){ onResize: saveColumnSizes, height: null }); + var prop_h = Cookie.read('properties_height'); + if($defined(prop_h)) + prop_h = prop_h.toInt(); + else + prop_h = 200; + new MochaUI.Panel({ + id: 'properties', + title: 'Panel', + header: true, + padding: { top: 0, right: 0, bottom: 0, left: 0 }, + contentURL: 'prop-general.html', + require: { + css: ['css/Tabs.css'] + }, + tabsURL: 'properties.html', + column: 'mainColumn', + height: prop_h + }); //ajaxfn(); if(BrowserDetect.browser != "Safari") { // Safari has trouble with this