fixed bad function call causing select_produits_list to fail

This commit is contained in:
Cédric Salvador 2013-07-31 10:08:33 +02:00
parent 75e2350e6a
commit f0bbdfddfb

View File

@ -1400,7 +1400,7 @@ class Form
$objp->remise = $objp2->remise; $objp->remise = $objp2->remise;
$objp->price_by_qty_rowid = $objp2->rowid; $objp->price_by_qty_rowid = $objp2->rowid;
$this->_construct_product_list_option($objp, $opt, $optJson, 0, $selected); $this->constructProductListOption($objp, $opt, $optJson, 0, $selected);
$j++; $j++;
@ -1414,7 +1414,7 @@ class Form
} }
else else
{ {
$this->_construct_product_list_option($objp, $opt, $optJson, $price_level, $selected); $this->constructProductListOption($objp, $opt, $optJson, $price_level, $selected);
// Add new entry // Add new entry
// "key" value of json key array is used by jQuery automatically as selected value // "key" value of json key array is used by jQuery automatically as selected value
// "label" value of json key array is used by jQuery automatically as text for combo box // "label" value of json key array is used by jQuery automatically as text for combo box