1
0
Fork 0

Ask confirmation before deleting a toot.

This commit is contained in:
Nicolas Perriault 2017-05-12 22:45:20 +02:00
parent 8681a926dc
commit 5b69f2f094
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ statusActionsView status currentUser =
a
[ class <| baseBtnClasses ++ " btn-delete"
, href ""
, onClickWithPreventAndStop <| DeleteStatus sourceStatus.id
, onClickWithPreventAndStop <| AskConfirm "Are you sure you want to delete this toot?" (DeleteStatus sourceStatus.id) NoOp
]
[ Common.icon "trash" ]
else