From ae6837c88cf6b0040057c6b8d51f0232e42b0288 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 14 Oct 2010 13:54:26 +0100 Subject: [PATCH] create the toolbar with the rest of the UI --- deluge/ui/web/js/deluge-all/Toolbar.js | 2 -- deluge/ui/web/js/deluge-all/UI.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/Toolbar.js b/deluge/ui/web/js/deluge-all/Toolbar.js index 7e026d54a..3558f28d2 100644 --- a/deluge/ui/web/js/deluge-all/Toolbar.js +++ b/deluge/ui/web/js/deluge-all/Toolbar.js @@ -190,5 +190,3 @@ Deluge.Toolbar = Ext.extend(Ext.Toolbar, { deluge.add.show(); } }); - -deluge.toolbar = new Deluge.Toolbar(); diff --git a/deluge/ui/web/js/deluge-all/UI.js b/deluge/ui/web/js/deluge-all/UI.js index 84e8c5663..e8e86a593 100644 --- a/deluge/ui/web/js/deluge-all/UI.js +++ b/deluge/ui/web/js/deluge-all/UI.js @@ -55,6 +55,7 @@ deluge.ui = { deluge.preferences = new Deluge.preferences.PreferencesWindow(); deluge.sidebar = new Deluge.Sidebar(); deluge.statusbar = new Deluge.Statusbar(); + deluge.toolbar = new Deluge.Toolbar(); this.MainPanel = new Ext.Panel({ id: 'mainPanel',