From 92d4c0d9c1d0c2a9fd7cf900a652877380750ccf Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Fri, 25 Nov 2016 13:37:38 +0000 Subject: [PATCH] default tabs #304 --- PlexRequests.UI/Content/requests.js | 5 ++++- PlexRequests.UI/Views/Requests/Index.cshtml | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/PlexRequests.UI/Content/requests.js b/PlexRequests.UI/Content/requests.js index 7ec122e01..bb0c0a062 100644 --- a/PlexRequests.UI/Content/requests.js +++ b/PlexRequests.UI/Content/requests.js @@ -19,7 +19,7 @@ var albumLoaded = false; var mixItUpDefault = { animation: { enable: true }, load: { - filter: 'all', + filter: '.approved-false', sort: 'requestorder:desc' }, layout: { @@ -263,6 +263,9 @@ $('.filter,.sort', '.dropdown-menu').click(function (e) { var $this = $(this); $('.fa-check-square', $this.parents('.dropdown-menu:first')).removeClass('fa-check-square').addClass('fa-square-o'); $this.children('.fa').first().removeClass('fa-square-o').addClass('fa-check-square'); + $("#filterText").fadeOut(function () { + $(this).text($this.text().trim()); + }).fadeIn(); }); diff --git a/PlexRequests.UI/Views/Requests/Index.cshtml b/PlexRequests.UI/Views/Requests/Index.cshtml index 5b840cc1e..025622b36 100644 --- a/PlexRequests.UI/Views/Requests/Index.cshtml +++ b/PlexRequests.UI/Views/Requests/Index.cshtml @@ -59,13 +59,13 @@