Skip to content

Commit 2c4ffb8

Browse files
committed
fix(ldapselectfield): dynamic field update
1 parent ba0fa1e commit 2c4ffb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/scripts.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,8 @@ function plugin_formcreator_changeLDAP(ldap) {
17011701
value: ldap_directory,
17021702
},
17031703
}).done(function(response) {
1704-
document.getElementById('ldap_filter').value = response;
1704+
var selector = '$slashSelector';
1705+
document.querySelector('form[data-itemtype=\"PluginFormcreatorQuestion\"] [name="ldap_filter"]').value = response;
17051706
});
17061707
}
17071708

0 commit comments

Comments
 (0)