From fd2fd9f4327fdaeb1ccb698d3566f9da0fda0632 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 10 Jun 2014 09:19:24 +0200 Subject: [PATCH] Fix search box after it was broken by 202c7b7783865d119afccc4e403ad85bf5846530 --- js/ctrls/nav.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/ctrls/nav.js b/js/ctrls/nav.js index 421cfa4..590d244 100644 --- a/js/ctrls/nav.js +++ b/js/ctrls/nav.js @@ -21,6 +21,12 @@ angular // initially collapsed in mobile resolution scope.collapsed = true; + scope.onDownloadFilter = function() { + // Forward to MainCtrl. + scope.$parent.downloadFilter = scope.downloadFilter; + scope.$parent.onDownloadFilter(); + }; + // manage download functions scope.forcePauseAll = function() { rpc.once('forcePauseAll', []);