Hi, I have a custom lightbox implementation which works fine, besides the duration.
When editing a task, the duration field is submitted correctly, however the end date is not calculating this correctly and is reflecting the tasks as having a 0 days duration.
Upon refreshing the page completely this displays fine.
Is there anything that may be causing this? I can see the value is being picked up correctly as i am logging or alerting the value at various points in the process.
My showLightbox code