add confirmation dialog when creating signed version (#4571)
This commit is contained in:
parent
25f078a2ae
commit
24e58db1ab
|
@ -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;
|
||||
});
|
||||
});
|
||||
|
|
Reference in New Issue