Fix: l'ajout d'un produit fonctionnait sous Firefox mais pas sous IE
This commit is contained in:
parent
315a71687a
commit
00b92b20ca
@ -2661,7 +2661,7 @@ function ajax_updater_indicator($htmlname,$indicator='working')
|
||||
*/
|
||||
function ajax_updater($htmlname,$keysearch,$url,$option='',$indicator='working')
|
||||
{
|
||||
$script='';
|
||||
$script = '<input type="hidden" name="'.$htmlname.'" id="'.$htmlname.'" value="">';
|
||||
if ($indicator) $script.=ajax_updater_indicator($htmlname,$indicator);
|
||||
$script.='<script type="text/javascript">';
|
||||
$script.='var myIndicator'.$htmlname.' = {
|
||||
@ -2689,7 +2689,6 @@ function ajax_updater($htmlname,$keysearch,$url,$option='',$indicator='working')
|
||||
});';
|
||||
$script.='</script>';
|
||||
$script.='<div class="nocellnopadd" id="ajdynfield'.$htmlname.'"></div>';
|
||||
$script.='<input type="hidden" name="'.$htmlname.'" id="'.$htmlname.'" value="">';
|
||||
|
||||
return $script;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user