From 4014b3fba908b34d7127719f664742df6cfa7b23 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 18 Aug 2009 22:19:09 +0000 Subject: [PATCH] remove an extra creation of the options manager --- deluge/ui/web/js/Deluge.Preferences.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/deluge/ui/web/js/Deluge.Preferences.js b/deluge/ui/web/js/Deluge.Preferences.js index bcb13050e..bca22e2f8 100644 --- a/deluge/ui/web/js/Deluge.Preferences.js +++ b/deluge/ui/web/js/Deluge.Preferences.js @@ -90,8 +90,6 @@ Ext.deluge.PreferencesWindow = Ext.extend(Ext.Window, { this.addButton(_('Apply'), this.onApply, this); this.addButton(_('Ok'), this.onOk, this); - this.optionsManager = new Deluge.OptionsManager(); - this.pages = {}; this.optionsManager = new Deluge.OptionsManager(); this.on('show', this.onShow, this);