Confirm multiple deletions (fixes #2384)

This commit is contained in:
FinnStutzenstein 2016-09-15 14:48:03 +02:00
parent 2753af3585
commit bdeeb53f9b

View File

@ -68,9 +68,10 @@
<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()"
class="btn btn-primary">
<a ng-show="isDeleteMode" os-perms="motions.can_manage"
ng-bootbox-confirm="{{ 'Are you sure you want to delete these motions?' | translate }}"
ng-bootbox-confirm-action="deleteMultiple()"
class="btn btn-primary">
<i class="fa fa-trash fa-lg"></i>
<translate>Delete selected motions</translate>
</a>