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) {
|
$scope.toggleItems = function($event) {
|
||||||
$event.stopPropagation();
|
$event.stopPropagation();
|
||||||
|
if ($scope.controller) {
|
||||||
$scope.controller.toggleItems();
|
$scope.controller.toggleItems();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this.checkByFilter = function(filter) {
|
this.checkByFilter = function(filter) {
|
||||||
|
if ($scope.controller) {
|
||||||
$scope.controller.checkByFilter(function(item) {
|
$scope.controller.checkByFilter(function(item) {
|
||||||
return filter({'item': item});
|
return filter({'item': item});
|
||||||
});
|
});
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue