fix inline js on the back/close button

This commit is contained in:
Isaac Connor 2019-10-08 18:49:29 -04:00
parent d1b086ddc6
commit 1cf034ec5f
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ if ( canView('Control') && $monitor->Type() == 'Local' ) {
?> ?>
<div id="scaleControl"><?php echo translate('Scale') ?>: <?php echo htmlSelect('scale', $scales, $scale); ?></div> <div id="scaleControl"><?php echo translate('Scale') ?>: <?php echo htmlSelect('scale', $scales, $scale); ?></div>
</div> </div>
<div id="closeControl"><a href="#" onclick="<?php echo $popup ? 'window.close()' : 'history.go(-1);return false;' ?>"><?php echo $popup ? translate('Close') : translate('Back') ?></a></div> <div id="closeControl"><a href="#" data-on-click="<?php echo $popup ? 'closeWindow' : 'backWindow' ?>"><?php echo $popup ? translate('Close') : translate('Back') ?></a></div>
</div> </div>
<?php <?php
if ( $monitor->Status() != 'Connected' ) { if ( $monitor->Status() != 'Connected' ) {