From 17d9739abbd28d9386d4a4068739c165a50b16ef 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 935d823dc..144e86346 100644 --- a/deluge/ui/web/js/deluge-all/Toolbar.js +++ b/deluge/ui/web/js/deluge-all/Toolbar.js @@ -197,5 +197,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 70f5ae23f..2f4dc397c 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.detailsPanel = new Ext.Panel({ id: 'detailsPanel',