Fix: use span instead div for align image warning
This commit is contained in:
parent
28a98f6bd9
commit
a6758c2557
@ -49,7 +49,7 @@ class Form
|
|||||||
var $cache_conditions_paiements=array();
|
var $cache_conditions_paiements=array();
|
||||||
var $cache_availability=array();
|
var $cache_availability=array();
|
||||||
var $cache_demand_reason=array();
|
var $cache_demand_reason=array();
|
||||||
var $cache_type_fees=array();
|
var $cache_types_fees=array();
|
||||||
var $cache_currencies=array();
|
var $cache_currencies=array();
|
||||||
var $cache_vatrates=array();
|
var $cache_vatrates=array();
|
||||||
|
|
||||||
@ -320,8 +320,8 @@ class Form
|
|||||||
if (! empty($ext_element)) $out.= '<input id="ext_element_'.$htmlname.'" value="'.$ext_element.'" type="hidden"/>'."\n";
|
if (! empty($ext_element)) $out.= '<input id="ext_element_'.$htmlname.'" value="'.$ext_element.'" type="hidden"/>'."\n";
|
||||||
if (! empty($success)) $out.= '<input id="success_'.$htmlname.'" value="'.$success.'" type="hidden"/>'."\n";
|
if (! empty($success)) $out.= '<input id="success_'.$htmlname.'" value="'.$success.'" type="hidden"/>'."\n";
|
||||||
|
|
||||||
$out.= '<div id="viewval_'.$htmlname.'" class="viewval_'.$inputType.($button_only ? ' inactive' : ' active').'">'.$value.'</div>'."\n";
|
$out.= '<span id="viewval_'.$htmlname.'" class="viewval_'.$inputType.($button_only ? ' inactive' : ' active').'">'.$value.'</span>'."\n";
|
||||||
$out.= '<div id="editval_'.$htmlname.'" class="editval_'.$inputType.($button_only ? ' inactive' : ' active').' hideobject">'.(! empty($editvalue) ? $editvalue : $value).'</div>'."\n";
|
$out.= '<span id="editval_'.$htmlname.'" class="editval_'.$inputType.($button_only ? ' inactive' : ' active').' hideobject">'.(! empty($editvalue) ? $editvalue : $value).'</span>'."\n";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user