use setStyle('display','table-row') since mootools suck and .show() will use display:block on a tr

This commit is contained in:
Isaac Connor 2016-05-25 09:08:28 -04:00
parent 00abd36af8
commit 8f1596d683
1 changed files with 1 additions and 1 deletions

View File

@ -820,7 +820,7 @@ switch ( $tab )
elseif ( $newMonitor['Type'] == "Remote" ) elseif ( $newMonitor['Type'] == "Remote" )
{ {
?> ?>
<tr><td><?php echo translate('RemoteProtocol') ?></td><td><?php echo buildSelect( "newMonitor[Protocol]", $remoteProtocols, "updateMethods( this );if(this.value=='rtsp'){\$('RTSPDescribe').show();}else{\$('RTSPDescribe').hide();}" ); ?></td></tr> <tr><td><?php echo translate('RemoteProtocol') ?></td><td><?php echo buildSelect( "newMonitor[Protocol]", $remoteProtocols, "updateMethods( this );if(this.value=='rtsp'){\$('RTSPDescribe').setStyle('display','table-row');}else{\$('RTSPDescribe').hide();}" ); ?></td></tr>
<?php <?php
if ( empty($newMonitor['Protocol']) || $newMonitor['Protocol'] == "http" ) if ( empty($newMonitor['Protocol']) || $newMonitor['Protocol'] == "http" )
{ {