From 73b7bcc6ce3634903c54de9b69a01a19dd8c3722 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 18 Mar 2013 21:56:50 +0100 Subject: [PATCH] Force dashboard view --- couchpotato/core/plugins/movie/static/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/movie/static/list.js b/couchpotato/core/plugins/movie/static/list.js index d8c7fa8..5ac210e 100644 --- a/couchpotato/core/plugins/movie/static/list.js +++ b/couchpotato/core/plugins/movie/static/list.js @@ -144,7 +144,7 @@ var MovieList = new Class({ var self = this; var chars = '#ABCDEFGHIJKLMNOPQRSTUVWXYZ'; - self.current_view = self.getSavedView(); + self.current_view = self.getSavedView() || 'details'; self.el.addClass(self.current_view+'_list') self.navigation = new Element('div.alph_nav').adopt( @@ -434,7 +434,7 @@ var MovieList = new Class({ getSavedView: function(){ var self = this; - return Cookie.read(self.options.identifier+'_view') || 'details'; + return Cookie.read(self.options.identifier+'_view'); }, search: function(){