Fixed problems with selected a network component when create module and lost data in plugins. Tiquet: #2484

This commit is contained in:
m-lopez-f 2015-09-02 13:02:00 +02:00
parent 28e1f0a7c0
commit ada0f3b20c
1 changed files with 2 additions and 1 deletions

View File

@ -235,6 +235,7 @@ function configure_modules_form () {
return;
$("#component_loading").show ();
$(".error").hide ();
jQuery.post ("ajax.php",
{
"page" : "godmode/agentes/module_manager_editor",
@ -272,7 +273,7 @@ function configure_modules_form () {
if (data["id_plugin"] != undefined) {
$("#id_plugin").val(data["id_plugin"]);
}
$("#id_plugin").trigger('change');
//$("#id_plugin").trigger('change');
$("#text-plugin_user").attr ("value", js_html_entity_decode (data["plugin_user"]));
$("#password-plugin_pass").attr ("value", js_html_entity_decode (data["plugin_pass"]));
$("#text-plugin_parameter").attr ("value", js_html_entity_decode (data["plugin_parameter"]));