Merge pull request #99 from nmaier/fix-search

Fix search box
This commit is contained in:
hamza zia 2014-06-11 13:50:16 +08:00
commit c11c931f47

View File

@ -21,6 +21,12 @@ angular
// initially collapsed in mobile resolution // initially collapsed in mobile resolution
scope.collapsed = true; scope.collapsed = true;
scope.onDownloadFilter = function() {
// Forward to MainCtrl.
scope.$parent.downloadFilter = scope.downloadFilter;
scope.$parent.onDownloadFilter();
};
// manage download functions // manage download functions
scope.forcePauseAll = function() { scope.forcePauseAll = function() {
rpc.once('forcePauseAll', []); rpc.once('forcePauseAll', []);