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', []);