Add confirmation dialog to delete options

this is only a temporary solution but it will probably safe some users from deleting their data by accident

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-02-28 10:01:39 +01:00
parent 5d3f952d92
commit 19a3466b18
3 changed files with 29 additions and 3 deletions

View File

@@ -104,7 +104,7 @@
<li>
<a class="menuitem action action-delete permanent"
data-action="Delete"
ng-click="cardDelete(c)"><span
ng-click="cardDelete(c); $event.stopPropagation();"><span
class="icon icon-delete"></span><span><?php p($l->t('Delete')); ?></span></a>
</li>
</ul>