always put popup links in a, even if it is disabled
This commit is contained in:
parent
6d1f85bcd6
commit
8194876454
|
@ -497,11 +497,11 @@ function makePopupLink( $url, $winName, $winSize, $label, $condition=1, $options
|
|||
$popupParms = "'".$url."', '".$winName."', '".$winSize."'";
|
||||
|
||||
$string .= '<a href="'.$url.'" onclick="createPopup( '.$popupParms.' ); return( false );"'.($options?(' '.$options):'').'>';
|
||||
} else {
|
||||
$string .= '<a>';
|
||||
}
|
||||
$string .= $label;
|
||||
if ( $condition ) {
|
||||
$string .= '</a>';
|
||||
}
|
||||
return( $string );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue