querywindow link: do not always return false from onclick, only if open of querywindow succeeds
This commit is contained in:
@@ -75,8 +75,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
|
||||
}
|
||||
echo '<a href="' . $anchor . '&no_js=true"'
|
||||
.' title="' . $strQueryFrame . '"';
|
||||
echo ' onclick="javascript:window.parent.open_querywindow();'
|
||||
.' return false;"';
|
||||
echo ' onclick="javascript:if (window.parent.open_querywindow()) return false;"';
|
||||
echo '>' . $query_frame_link_text . '</a>' . "\n";
|
||||
} // end if ($server != 0)
|
||||
|
||||
|
Reference in New Issue
Block a user