BUG 6945 "Country in Language code causes Javascript causes..." SOLVED (fixes)

- firefox 3.6 & chrome compatibility
This commit is contained in:
Erik Amaru Ortiz
2011-06-02 15:48:17 -04:00
parent 295523f38d
commit 69d034b4bf

View File

@@ -159,9 +159,11 @@ class XmlForm_Field_toolButton extends XmlForm_Field
(($this->style)?' style="'.$this->style.'"':'').'/>'; (($this->style)?' style="'.$this->style.'"':'').'/>';
break; break;
case 'class': case 'class':
$html='<div onmouseover=\'backImage(this,"url(/images/dynamicForm/hover.gif) no-repeat")\' onmouseout=\'backImage(this,"")\' style="width:25px;height:25px;margin-bottom:3px"> $html='<a href="#" onclick="'. $this->onclick.'" onmouseover="backImage(this, \'url(/images/dynamicForm/hover.gif) no-repeat\')" onmouseout="backImage(this, \'\')" style="width:25px;height:25px;margin-bottom:3px">
<div class="'.$this->class.'" title="'.strip_tags($this->label).'"/> <div class="'.$this->class.'" title="'.strip_tags($this->label).'" style="width:25px;height:25px;margin-bottom:3px"></div>
</div>'; </a>';
return $html;
} }
return '<a class="toolButton" '. return '<a class="toolButton" '.
(($this->buttonStyle)?' style="'.$this->buttonStyle.'"':''). (($this->buttonStyle)?' style="'.$this->buttonStyle.'"':'').
@@ -169,4 +171,4 @@ class XmlForm_Field_toolButton extends XmlForm_Field
'>'.$html.'</a>'; '>'.$html.'</a>';
} }
} }
?> ?>