parent
42d4f4d851
commit
a7ff08458d
1 changed files with 8 additions and 4 deletions
|
@ -676,13 +676,17 @@ angular.module("core-ui", [])
|
|||
|
||||
$scope.toggleItems = function($event) {
|
||||
$event.stopPropagation();
|
||||
$scope.controller.toggleItems();
|
||||
if ($scope.controller) {
|
||||
$scope.controller.toggleItems();
|
||||
}
|
||||
};
|
||||
|
||||
this.checkByFilter = function(filter) {
|
||||
$scope.controller.checkByFilter(function(item) {
|
||||
return filter({'item': item});
|
||||
});
|
||||
if ($scope.controller) {
|
||||
$scope.controller.checkByFilter(function(item) {
|
||||
return filter({'item': item});
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue