2014-03-11 Miguel de Dios <miguel.dedios@artica.es>

* include/javascript/pandora_modules.js: fixed the javascript to
	load the WMI query in the form to edit the module.
	
	Incident: #598




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-03-11 12:44:10 +00:00
parent 4a672c864d
commit 86a9261d76
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2014-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed the javascript to
load the WMI query in the form to edit the module.
Incident: #598
2014-03-11 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: fixed the length of module

View File

@ -249,10 +249,14 @@ function configure_modules_form () {
period_select_update('module_interval', data["module_interval"]);
}
$("#text-tcp_port").attr ("value", data["tcp_port"]);
$("#textarea_tcp_send").attr ("value", js_html_entity_decode (data["tcp_send"]));
$("#textarea_tcp_rcv").attr ("value", js_html_entity_decode (data["tcp_rcv"]));
$("#text-snmp_community").attr ("value", js_html_entity_decode (data["snmp_community"]));
$("#text-snmp_oid").attr ("value", js_html_entity_decode (data["snmp_oid"])).show ();
$("#textarea_tcp_send")
.attr ("value", js_html_entity_decode (data["tcp_send"]));
$("#textarea_tcp_rcv")
.attr ("value", js_html_entity_decode (data["tcp_rcv"]));
$("#text-snmp_community")
.attr ("value", js_html_entity_decode (data["snmp_community"]));
$("#text-snmp_oid")
.val( js_html_entity_decode (data["snmp_oid"]));
$("#oid, img#edit_oid").hide ();
$("#id_module_group").val (data["id_module_group"]);
$("#max_timeout").attr ("value", data["max_timeout"]);