From 8dfb0d1d5c498c7a882a7f5454513a7a4650a033 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 15 Feb 2014 19:47:55 +0100 Subject: [PATCH] Fire events after tab add --- couchpotato/static/scripts/page/settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/static/scripts/page/settings.js b/couchpotato/static/scripts/page/settings.js index 9c9453e0..74f3c7f0 100644 --- a/couchpotato/static/scripts/page/settings.js +++ b/couchpotato/static/scripts/page/settings.js @@ -196,13 +196,13 @@ Page.Settings = new Class({ }); setTimeout(function(){ - self.fireEvent('create'); - self.openTab(); - self.el.adopt( self.tabs_container, self.containers ); + + self.fireEvent('create'); + self.openTab(); }, 0); },