parent
7239c465bf
commit
da4c658bde
3 changed files with 40 additions and 4 deletions
|
@ -713,8 +713,10 @@ angular.module("core-ui", [])
|
|||
'controller': '=controller'
|
||||
},
|
||||
controller: function($rootScope, $scope, $element) {
|
||||
$scope.toggleItem = function() {
|
||||
$scope.controller.toggleItem($scope.item);
|
||||
$scope.toggleItem = function($event) {
|
||||
$event.preventDefault();
|
||||
$event.stopPropagation();
|
||||
$scope.controller.toggleItem($scope.item, $event.shiftKey);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue