fix PHP fatal on call to Api\Html::progressbar caused by no longer existing static property $netscape4

This commit is contained in:
Ralf Becker 2017-01-24 10:59:00 +01:00
parent 389f00dead
commit 45114cd2b8

View File

@ -873,10 +873,6 @@ egw_LAB.wait(function() {
if (!$color) $color = '#D00000';
$title = $_title ? self::htmlspecialchars($_title) : $percent.'%';
if (self::$netscape4)
{
return $title;
}
return '<div class="onlyPrint">'.$title.'</div><div class="noPrint" title="'.$title.'" '.$options.
' style="height: '.$height.'; width: '.$width.'; border: 1px solid black; padding: 1px; text-align: left;'.
(@stristr($options,'onclick="') ? ' cursor: pointer;' : '').'">'."\n\t".