digitalutsc / islandora_web_annotations

An Islandora module that enables annotation on Islandora objects, following the W3C Web annotation model.
GNU General Public License v3.0
7 stars 5 forks source link

oral histories content model - create annotation issue #255

Open Natkeeran opened 6 years ago

Natkeeran commented 6 years ago

After creating an annotation in the oral histories content model, the UI does not return to summary mode. Refreshing it does display the annotations correctly. Seems like an UI issue.

oral history creating annotations

http://nearby-studies.digitalscholarship.utsc.utoronto.ca/islandora/object/nearbystudies%3A1006

Natkeeran commented 6 years ago

I've reviewed this issue and found that this issue occurs when " Aggregate JavaScript files. " in drupal Performance configuration is enabled. When files get aggregated, the order in which the js gets aggregated cannot be determined. For video annotations, the order is important.

A possible solution is to simply disable javascript file aggregation.

We are considering pre aggregating all the javascript files while preserving the order and and providing that file for drupal to aggregate.