commit
401143484e
2 changed files with 9 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
<div class="create-robot-dialog-element">
|
||||
<div ng-if="info">
|
||||
<div class="create-entity-dialog" info="info" entity-title="robot account"
|
||||
entity-kind="user"
|
||||
entity-kind="robot"
|
||||
entity-icon="ci-robot" entity-name-regex="{{ ROBOT_PATTERN }}"
|
||||
entity-create-requested="createRobot(name, callback)"
|
||||
entity-create-completed="robotFinished(entity)"></div>
|
||||
|
|
|
@ -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