Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
telecomnancy
edt
Commits
cf215b32
Commit
cf215b32
authored
4 years ago
by
Gerald Oster
Browse files
Options
Download
Email Patches
Plain Diff
[fix] annotation modal window performs findAnnotationByIdFromCache exclusively
parent
80d6c9ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
js/index.js
js/index.js
+1
-1
No files found.
js/index.js
View file @
cf215b32
...
...
@@ -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
.
findAnnotationById
FromCache
(
calendarEvent
.
id
);
var
annotationTextArea
=
modal
.
querySelector
(
'
textarea
'
);
annotationTextArea
.
value
=
annotation
?
annotation
:
''
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment