From 29e757bb3ae874483a5c82beadf5da3a8a0e2fe3 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 23 Apr 2010 08:12:06 +0000 Subject: [PATCH] Another initialization fix for Web UI --- src/webui/scripts/client.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index 62c620ca1..a4ad7ab8b 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -184,20 +184,6 @@ window.addEvent('load', function(){ column: 'filtersColumn', height: 300 }); - new MochaUI.Panel({ - id: 'transferList', - title: 'Panel', - header: false, - padding: { top: 0, right: 0, bottom: 0, left: 0 }, - loadMethod: 'xhr', - contentURL: 'transferlist.html', - onContentLoaded: function() { - ajaxfn(); - }; - column: 'mainColumn', - onResize: saveColumnSizes, - height: null - }); var prop_h = Cookie.read('properties_height'); if($defined(prop_h)) prop_h = prop_h.toInt(); @@ -318,6 +304,20 @@ window.addEvent('load', function(){ }).send(); } }; + new MochaUI.Panel({ + id: 'transferList', + title: 'Panel', + header: false, + padding: { top: 0, right: 0, bottom: 0, left: 0 }, + loadMethod: 'xhr', + contentURL: 'transferlist.html', + onContentLoaded: function() { + ajaxfn(); + }, + column: 'mainColumn', + onResize: saveColumnSizes, + height: null + }); //ajaxfn(); if(BrowserDetect.browser != "Safari") { // Safari has trouble with this