Modif esthtique mineure sur slection par ajax
This commit is contained in:
parent
504a8e1b54
commit
efb24b9954
@ -777,22 +777,23 @@ class Form
|
||||
{
|
||||
if (! $num)
|
||||
{
|
||||
print $langs->trans("NoProductMatching").' ';
|
||||
print '<select class="flat" name="'.$htmlname.'">';
|
||||
print '<option value="0">-- '.$langs->trans("NoProductMatching").' --</option>';
|
||||
}
|
||||
// else
|
||||
// {
|
||||
else
|
||||
{
|
||||
print '<select class="flat" name="'.$htmlname.'" onchange="publish_selvalue(this);">';
|
||||
print "<option value=\"0\" selected=\"true\"> </option>";
|
||||
// }
|
||||
print '<option value="0" selected="true">-- '.$langs->trans("MatchingProducts").' --</option>';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<select class="flat" name="'.$htmlname.'">';
|
||||
print "<option value=\"0\" selected=\"true\"> </option>";
|
||||
print '<option value="0" selected="true"> </option>';
|
||||
}
|
||||
|
||||
$i = 0;
|
||||
while ($i < $num)
|
||||
while ($num && $i < $num)
|
||||
{
|
||||
$objp = $this->db->fetch_object($result);
|
||||
|
||||
|
||||
@ -104,4 +104,5 @@ ProductDeleted=Product/Service "%s" deleted from database.
|
||||
ExportDataset_produit_1=Products and services
|
||||
DeleteProductLine=Delete product line
|
||||
ConfirmDeleteProductLine=Are you sure you want to delete this product line?
|
||||
NoProductMatching=No product/service match your criteria
|
||||
NoProductMatching=No product/service match your criteria
|
||||
MatchingProducts=Matching products/services
|
||||
@ -104,4 +104,5 @@ ProductDeleted=Le produit/service "%s"
|
||||
ExportDataset_produit_1=Produits et services
|
||||
DeleteProductLine=Supprimer ligne produit
|
||||
ConfirmDeleteProductLine=Êtes-vous sûr de vouloir effacer cette ligne produit ?
|
||||
NoProductMatching=Aucun produit/service ne répond au critère
|
||||
NoProductMatching=Aucun produit/service ne répond au critère
|
||||
MatchingProducts=Produits/Services trouvés
|
||||
Loading…
Reference in New Issue
Block a user