From 822f1a9557505b35037bad59be8dac566e8e46c3 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 23 Apr 2010 08:04:21 +0000 Subject: [PATCH] Fix possible initialization problem in Web UI --- src/webui/scripts/client.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index b7c35eec5..62c620ca1 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -191,6 +191,9 @@ window.addEvent('load', function(){ padding: { top: 0, right: 0, bottom: 0, left: 0 }, loadMethod: 'xhr', contentURL: 'transferlist.html', + onContentLoaded: function() { + ajaxfn(); + }; column: 'mainColumn', onResize: saveColumnSizes, height: null @@ -315,7 +318,7 @@ window.addEvent('load', function(){ }).send(); } }; - ajaxfn(); + //ajaxfn(); if(BrowserDetect.browser != "Safari") { // Safari has trouble with this loadTransferInfo();