Add a confirmation when you remove or move a card
This commit is contained in:
parent
7baff9d07b
commit
9e2b66f617
1 changed files with 2 additions and 2 deletions
|
|
@ -279,8 +279,8 @@ if ( isset ( $_GET["action"]) ) {
|
|||
$iselect->value=$cn->make_array('select fd_id,fd_label from fiche_def '); //where frd_id='.$fiche->get_fiche_def_ref_id());
|
||||
|
||||
echo HtmlInput::submit("update_fiche","Mise à jour");
|
||||
echo HtmlInput::submit("delete" ,"Effacer cette fiche");
|
||||
echo HtmlInput::submit('move',_('Déplacer vers'));
|
||||
echo HtmlInput::submit("delete" ,"Effacer cette fiche","onclick=\"return confirm('"._('Vous confirmez ?')."');\"");
|
||||
echo HtmlInput::submit('move',_('Déplacer vers'),"onclick=\"return confirm('"._('Attention, certains attributs pourraient être effacés, vous confirmez ?')."');\"");
|
||||
echo $iselect->input();
|
||||
}
|
||||
$str="";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue