BUG 6093 Adjustment hide small bar for link options in tables.

This commit is contained in:
Hector Cortez
2011-06-20 10:17:13 -04:00
parent 61afe9b5d7
commit 5bce7035fa

View File

@@ -2133,7 +2133,10 @@ class XmlForm_Field_Link extends XmlForm_Field {
$value = G::replaceDataField ( $this->value, $owner->values );
$label = G::replaceDataField ( $this->label, $owner->values );
$aLabel = $this->htmlentities ( $this->value === '' ? $label : $value, ENT_QUOTES, 'utf-8' );
return '<a class="tableOption" href=\'' . $link . '\'' . (($this->onclick) ? ' onclick="' . $onclick . '"' : '') . (($this->target) ? ' target="' . htmlentities ( $target, ENT_QUOTES, 'utf-8' ) . '"' : '') . '>' . $aLabel . '</a>';
if(isset($aLabel) && strlen($aLabel)>0)
return '<a class="tableOption" href=\'' . $link . '\'' . (($this->onclick) ? ' onclick="' . $onclick . '"' : '') . (($this->target) ? ' target="' . htmlentities ( $target, ENT_QUOTES, 'utf-8' ) . '"' : '') . '>' . $aLabel . '</a>';
else
return '';
}
}