use setStyle('display','table-row') since mootools suck and .show() will use display:block on a tr
This commit is contained in:
parent
00abd36af8
commit
8f1596d683
|
@ -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" )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue