diff --git a/pandora_console/extensions/net_tools.php b/pandora_console/extensions/net_tools.php index 15739df521..7a83678c86 100644 --- a/pandora_console/extensions/net_tools.php +++ b/pandora_console/extensions/net_tools.php @@ -101,12 +101,12 @@ function main_net_tools () { function mostrarColumns(ValueSelect){ value = ValueSelect.value; if ( value==3 ) { - document.getElementById('netToolTable').width='100%'; - document.getElementById('snmpcolumn').style.display='block'; + $('netToolTable').css('width','100%'); + $('#snmpcolumn').show(); } else{ - document.getElementById('netToolTable').width='100%'; - document.getElementById('snmpcolumn').style.display='none'; + $('netToolTable').css('width','100%'); + $('#snmpcolumn').hide(); } } "; @@ -143,7 +143,7 @@ function main_net_tools () { echo __("SNMP Community") . " "; echo ""; echo ""; - echo ""; + echo ""; echo ""; echo ""; echo "";