querywindow link: do not always return false from onclick, only if open of querywindow succeeds

This commit is contained in:
Sebastian Mendel
2007-03-21 13:00:28 +00:00
parent 75fe2cfa9e
commit 510fbcd605

View File

@@ -75,8 +75,7 @@ if ( $GLOBALS['cfg']['LeftDisplayLogo'] ) {
}
echo '<a href="' . $anchor . '&amp;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)