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"'
|
echo '<a href="' . $anchor . '&no_js=true"'
|
||||||
.' title="' . $strQueryFrame . '"';
|
.' title="' . $strQueryFrame . '"';
|
||||||
echo ' onclick="javascript:window.parent.open_querywindow();'
|
echo ' onclick="javascript:if (window.parent.open_querywindow()) return false;"';
|
||||||
.' return false;"';
|
|
||||||
echo '>' . $query_frame_link_text . '</a>' . "\n";
|
echo '>' . $query_frame_link_text . '</a>' . "\n";
|
||||||
} // end if ($server != 0)
|
} // end if ($server != 0)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user