mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#11771 Fixed plugin type fields
This commit is contained in:
parent
319a4e1743
commit
89f604a602
@ -159,7 +159,7 @@ foreach ($password_fields as $k => $p) {
|
||||
return;
|
||||
}
|
||||
|
||||
const moduleId = <?php echo $id_agent_module; ?>;
|
||||
const moduleId = <?php echo $module['id']; ?>;
|
||||
|
||||
load_plugin_description($("#id_plugin").val());
|
||||
|
||||
@ -171,6 +171,8 @@ foreach ($password_fields as $k => $p) {
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
changePluginSelect();
|
||||
if ($("#id_plugin").val() === 0) {
|
||||
changePluginSelect();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user