Fix state link to do popup like before

This commit is contained in:
Kyle Johnson 2016-03-12 20:44:42 -05:00
parent d202760d82
commit 2378c9a359
1 changed files with 2 additions and 1 deletions

View File

@ -227,7 +227,8 @@ xhtmlHeaders( __FILE__, translate('Console') );
<?php } ?>
<?php if ( canEdit( 'System' ) ) { ?>
<a class="btn btn-default navbar-btn" href="/?view=state"> <?php echo $status ?> </a>
<a class="btn btn-default navbar-btn" href="/?view=state" onclick="createPopup( '?view=state', 'zmState', 'state' ); return( false );"> <?php echo $status ?> </a>
<?php } else if ( canView( 'System' ) ) { ?>
<p class="navbar-text"> <?php echo $status ?> </p>
<?php } ?>