mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
11094-Load fields plugin module
This commit is contained in:
parent
151358190c
commit
a6212c2777
@ -141,7 +141,7 @@ foreach ($password_fields as $k => $p) {
|
|||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function changePluginSelect() {
|
function changePluginSelect() {
|
||||||
if (flag_load_plugin_component) {
|
if (typeof flag_load_plugin_component !== 'undefined' && flag_load_plugin_component) {
|
||||||
flag_load_plugin_component = false;
|
flag_load_plugin_component = false;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -155,4 +155,8 @@ foreach ($password_fields as $k => $p) {
|
|||||||
|
|
||||||
$('select#id_plugin').select2('close');
|
$('select#id_plugin').select2('close');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document).ready(function () {
|
||||||
|
changePluginSelect();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user