2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/snmp_explorer.php: Fixed snmp over IE8. Fixes: #3441762 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2a06505f44
commit
e66abbeafa
|
@ -1,3 +1,9 @@
|
|||
2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* extensions/snmp_explorer.php: Fixed snmp over IE8.
|
||||
|
||||
Fixes: #3441762
|
||||
|
||||
2011-12-01 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* extensions/insert_data.php: Improved the error message to
|
||||
|
|
|
@ -23,6 +23,9 @@ require_once ('include/graphs/functions_utils.php');
|
|||
|
||||
function snmp_explorer() {
|
||||
|
||||
html_debug_print("Empieza snmp explorer", "/tmp/pp.txt");
|
||||
|
||||
|
||||
$idAgent = (int) get_parameter('id_agente', 0);
|
||||
$ipAgent = db_get_value('direccion', 'tagente', 'id_agente', $idAgent);
|
||||
|
||||
|
@ -230,7 +233,7 @@ function snmp_explorer() {
|
|||
}
|
||||
|
||||
echo '<span id ="none_text" style="display: none;">' . __('None') . '</span>';
|
||||
echo "<form method='post' action='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=extension&id_agente=$id_agent&id_extension=snmp_explorer'>";
|
||||
echo "<form method='post' id='walk_form' action='index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=extension&id_agente=$id_agent&id_extension=snmp_explorer'>";
|
||||
|
||||
$table->width = '98%';
|
||||
|
||||
|
@ -305,8 +308,8 @@ function snmp_explorer() {
|
|||
|
||||
echo "</form>";
|
||||
|
||||
echo "</tr></table>";
|
||||
echo "</form>";
|
||||
//echo "</tr></table>";
|
||||
//echo "</form>";
|
||||
|
||||
if(!empty($interfaces_list)){
|
||||
echo '<span id="form_interfaces">';
|
||||
|
@ -379,12 +382,13 @@ $(document).ready (function () {
|
|||
}
|
||||
});
|
||||
|
||||
$("#submit-snmp_walk").click (function () {
|
||||
$(this).disable ();
|
||||
$("#walk_form").submit(function(){
|
||||
$("#submit-snmp_walk").disable ();
|
||||
$("#oid_loading").show ();
|
||||
$("#no_snmp").hide ();
|
||||
$("#form_interfaces").hide ();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function snmp_changed_by_multiple_snmp (event, id_snmp, selected) {
|
||||
|
|
Loading…
Reference in New Issue