Fix max width on combo of tasks

This commit is contained in:
Laurent Destailleur 2016-08-03 00:04:38 +02:00
parent 216ec6ac4b
commit 6ae8d26a89

View File

@ -149,7 +149,7 @@ class FormProjets
$resql=$this->db->query($sql); $resql=$this->db->query($sql);
if ($resql) if ($resql)
{ {
$minmax=''; $minmax='maxwidth500';
// Use select2 selector // Use select2 selector
$nodatarole=''; $nodatarole='';
@ -314,7 +314,7 @@ class FormProjets
$resql=$this->db->query($sql); $resql=$this->db->query($sql);
if ($resql) if ($resql)
{ {
$minmax=''; $minmax='maxwidth500';
// Use select2 selector // Use select2 selector
$nodatarole=''; $nodatarole='';
@ -324,7 +324,7 @@ class FormProjets
$comboenhancement = ajax_combobox($htmlname, '', 0, $forcefocus); $comboenhancement = ajax_combobox($htmlname, '', 0, $forcefocus);
$out.=$comboenhancement; $out.=$comboenhancement;
$nodatarole=($comboenhancement?' data-role="none"':''); $nodatarole=($comboenhancement?' data-role="none"':'');
$minmax='minwidth200'; $minmax='minwidth200 maxwidth500';
} }
if (empty($option_only)) { if (empty($option_only)) {