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