Commit cf215b32 authored by Gerald Oster's avatar Gerald Oster
Browse files

[fix] annotation modal window performs findAnnotationByIdFromCache exclusively

parent 80d6c9ef
......@@ -152,7 +152,7 @@ function displayAnnotationModalCallback(annotationService, calendarEvent, jsEven
var modal = document.querySelector('#annotation-modal');
modal.querySelector('.modal-card-title').innerHTML = htmlTitle;
annotation = annotationService.findAnnotationById(calendarEvent.id);
annotation = annotationService.findAnnotationByIdFromCache(calendarEvent.id);
var annotationTextArea = modal.querySelector('textarea');
annotationTextArea.value = annotation ? annotation : ''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment