add confirmation dialog when creating signed version (#4571)

This commit is contained in:
Frédéric Péters 2014-03-27 08:46:46 +01:00
parent 25f078a2ae
commit 24e58db1ab
1 changed files with 6 additions and 0 deletions

View File

@ -30,4 +30,10 @@ $(function() {
return false;
};
});
$('.actionicon-object_buttons-create_signed_version span').click(function() {
if (confirm("Vraiment créer la version signée ?\n(cette action est définitive)") == true) {
return true; /* this will let the event flow the <a> below */
}
return false;
});
});