11094-Load fields plugin module

This commit is contained in:
Pablo Aragon 2023-05-04 10:35:32 +02:00
parent 151358190c
commit a6212c2777
1 changed files with 5 additions and 1 deletions

View File

@ -141,7 +141,7 @@ foreach ($password_fields as $k => $p) {
?>
<script type="text/javascript">
function changePluginSelect() {
if (flag_load_plugin_component) {
if (typeof flag_load_plugin_component !== 'undefined' && flag_load_plugin_component) {
flag_load_plugin_component = false;
return;
@ -155,4 +155,8 @@ foreach ($password_fields as $k => $p) {
$('select#id_plugin').select2('close');
}
$(document).ready(function () {
changePluginSelect();
});
</script>