mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 01:14:21 +01:00
using onchange instead on onkeyup
This commit is contained in:
parent
5dc8011749
commit
3cbdfe62ec
@ -108,7 +108,7 @@ fields['${attr}'] = document.getElementById('${attr}');
|
||||
|
||||
% for attrid in attr_events:
|
||||
if (fields['${attrid}'] != null) {
|
||||
fields['${attrid}'].onkeyup = function () {
|
||||
fields['${attrid}'].onchange = function () {
|
||||
% for tuple in attr_events[attrid]:
|
||||
if (typeof(${tuple[1]}) == "function") {
|
||||
fields['${tuple[0]}'].value = ${tuple[1]}(${', '.join(functions[tuple])});
|
||||
|
Loading…
Reference in New Issue
Block a user