Follow_Up : other card, change presentation, use a button
instead of displaying a lot of cells , one per card, the button calls a dialog box with the list of other cards
This commit is contained in:
parent
91a8347a30
commit
fb1ade420a
12 changed files with 474 additions and 86 deletions
|
|
@ -480,7 +480,7 @@ class HtmlInput
|
|||
$id=uniqid("xx");
|
||||
}
|
||||
$r="";
|
||||
$r.='<a id="'.$id.'" class="'.$p_class.'" onclick="'.$javascript.'">'.$p_symbole.h($action).'</a>';
|
||||
$r.='<a id="'.$id.'" href="javascript:void(0)" class="'.$p_class.'" onclick="'.$javascript.'">'.$p_symbole.h($action).'</a>';
|
||||
return $r;
|
||||
}
|
||||
|
||||
|
|
@ -1137,16 +1137,7 @@ class HtmlInput
|
|||
return $js;
|
||||
}
|
||||
|
||||
static function button_action_add_concerned_card($p_agid)
|
||||
{
|
||||
$dossier=Dossier::id();
|
||||
$javascript=<<<EOF
|
||||
obj={dossier:$dossier,ag_id:$p_agid};action_concerned_search_card(obj);
|
||||
EOF;
|
||||
$js=HtmlInput::button_action(_('Ajout autres'), $javascript, 'xx',
|
||||
'smallbutton');
|
||||
return $js;
|
||||
}
|
||||
|
||||
|
||||
static function button_action_add()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue