mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed problems with selected a network component when create module and lost data in plugins. Tiquet: #2484
This commit is contained in:
parent
28e1f0a7c0
commit
ada0f3b20c
@ -235,6 +235,7 @@ function configure_modules_form () {
|
|||||||
return;
|
return;
|
||||||
$("#component_loading").show ();
|
$("#component_loading").show ();
|
||||||
$(".error").hide ();
|
$(".error").hide ();
|
||||||
|
|
||||||
jQuery.post ("ajax.php",
|
jQuery.post ("ajax.php",
|
||||||
{
|
{
|
||||||
"page" : "godmode/agentes/module_manager_editor",
|
"page" : "godmode/agentes/module_manager_editor",
|
||||||
@ -272,7 +273,7 @@ function configure_modules_form () {
|
|||||||
if (data["id_plugin"] != undefined) {
|
if (data["id_plugin"] != undefined) {
|
||||||
$("#id_plugin").val(data["id_plugin"]);
|
$("#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"]));
|
$("#text-plugin_user").attr ("value", js_html_entity_decode (data["plugin_user"]));
|
||||||
$("#password-plugin_pass").attr ("value", js_html_entity_decode (data["plugin_pass"]));
|
$("#password-plugin_pass").attr ("value", js_html_entity_decode (data["plugin_pass"]));
|
||||||
$("#text-plugin_parameter").attr ("value", js_html_entity_decode (data["plugin_parameter"]));
|
$("#text-plugin_parameter").attr ("value", js_html_entity_decode (data["plugin_parameter"]));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user