Attach event handlers to multi-field forms correctly

Closes #511.

[#153179347]
This commit is contained in:
Michael Klishin 2017-11-27 20:09:58 +03:00
parent 80890ca97a
commit 107f712f0e
1 changed files with 2 additions and 2 deletions

View File

@ -564,11 +564,11 @@ function postprocess() {
update_manual($(this).attr('for'), $(this).attr('query'));
});
$('.multifield input').on('keyup', function() {
$(document).on('keyup', '.multifield input', function() {
update_multifields();
});
$('.multifield select').on('change', function() {
$(document).on('change', '.multifield select', function() {
update_multifields();
});