From cd10555a8ad4f5f6550fe7cb0f24c204c9449d46 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 28 Apr 2010 12:40:54 +0100 Subject: [PATCH] construct the statusbar in the ui initialisation --- deluge/ui/web/js/deluge-all/Statusbar.js | 1 - deluge/ui/web/js/deluge-all/UI.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/js/deluge-all/Statusbar.js b/deluge/ui/web/js/deluge-all/Statusbar.js index 579f12678..77614bb33 100644 --- a/deluge/ui/web/js/deluge-all/Statusbar.js +++ b/deluge/ui/web/js/deluge-all/Statusbar.js @@ -302,4 +302,3 @@ Deluge.Statusbar = Ext.extend(Ext.ux.StatusBar, { this.items.get('statusbar-freespace').setText(fsize(stats.free_space)); } }); -deluge.statusbar = new Deluge.Statusbar(); diff --git a/deluge/ui/web/js/deluge-all/UI.js b/deluge/ui/web/js/deluge-all/UI.js index 2e8f0373f..1f1ce9c38 100644 --- a/deluge/ui/web/js/deluge-all/UI.js +++ b/deluge/ui/web/js/deluge-all/UI.js @@ -54,6 +54,7 @@ deluge.ui = { deluge.login = new Deluge.LoginWindow(); deluge.preferences = new Deluge.preferences.PreferencesWindow(); deluge.sidebar = new Deluge.Sidebar(); + deluge.statusbar = new Deluge.Statusbar(); this.MainPanel = new Ext.Panel({ id: 'mainPanel',