Merge pull request #2385 from FinnStutzenstein/Issue2384

Confirm multiple deletions (fixes #2384)
This commit is contained in:
Emanuel Schütze 2016-09-18 12:26:45 +02:00 committed by GitHub
commit 3bfa055aed

View File

@ -68,8 +68,9 @@
<div uib-collapse="!isDeleteMode" class="row spacer">
<div class="col-sm-12 text-left">
<!-- delete button -->
<a ng-show="isDeleteMode"
os-perms="motions.can_manage" ng-click="deleteMultiple()"
<a ng-show="isDeleteMode" os-perms="motions.can_manage"
ng-bootbox-confirm="{{ 'Are you sure you want to delete all selected motions?' | translate }}"
ng-bootbox-confirm-action="deleteMultiple()"
class="btn btn-primary">
<i class="fa fa-trash fa-lg"></i>
<translate>Delete selected motions</translate>