Permalink
Browse files

Removed obsolete ?nav=schema

  • Loading branch information...
1 parent 3815f11 commit 9edbb0aeaadd629270ab2c975c6f4880b6994ef4 FlashySearch committed Dec 26, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 views/cluster_info.php
View
5 views/cluster_info.php
@@ -1,6 +1,6 @@
<table id="navigation" class="table table-bordered table-striped">
<tr>
- <td onclick="document.location.href='?nav=schema'"><a href="?nav=schema">Schema</a></td>
+ <td onclick="document.location.href='./'"><a href="./">Schema</a></td>
<td onclick="document.location.href='?nav=cluster'"><a href="?nav=cluster">Cluster</a></td>
</tr>
</table>
@@ -9,7 +9,7 @@
<?php echo $error_message; ?>
<?php
-if ($_GET['nav'] == 'cluster'):
+if (isset($_GET['nav']) && $_GET['nav'] == 'cluster'):
?>
<div id="cluster_info" class="well">
@@ -106,4 +106,3 @@
<ul>
<li><a href="jmx.php">See Stats</a></li>
</ul>
-

0 comments on commit 9edbb0a

Please sign in to comment.