Fix search box

after it was broken by 202c7b7783
This commit is contained in:
Nils Maier 2014-06-10 09:19:24 +02:00
parent 3e5e353ce1
commit fd2fd9f432

View File

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