View | Details | Raw Unified | Return to bug 36738
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-3 lines)
Lines 60-70 function clone_entry(node) { Link Here
60
60
61
    // regenerate flatpickr calendars to add event listeners
61
    // regenerate flatpickr calendars to add event listeners
62
    $(`.flatpickr_wrapper`, clone).remove();
62
    $(`.flatpickr_wrapper`, clone).remove();
63
    var date = $("> .flatpickr", original).val();
64
    $(".flatpickr", clone).each(function(){
63
    $(".flatpickr", clone).each(function(){
65
        apply_flatpickr(this);
64
        apply_flatpickr(this);
66
    });
65
    });
67
    $(`.flatpickr_wrapper .flatpickr, #patron_attr_${newId}.flatpickr`, clone).val(date);
68
66
69
    return false;
67
    return false;
70
}
68
}
71
- 

Return to bug 36738