Changeset 38227 for gs3-extensions/structured-image
- Timestamp:
- 2023-09-26T17:47:44+13:00 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/structured-image/trunk/src/js/document_extra.js
r37709 r38227 279 279 "windows": [ 280 280 { 281 "imageToolsEnabled": true, 281 282 "loadedManifest": httpDocumentIIIFManifest, 282 283 "canvasIndex": canvas_index, … … 285 286 ] 286 287 }; 287 288 288 289 var includeFileAssocOpenAnnotations = gs.variables.optionIncludeFileAssocOpenAnnotations; 289 290 var includeEditableOpenAnnotations = gs.variables.optionIncludeEditableOpenAnnotations; … … 330 331 mirador3_config.annotation.exportLocalStorageAnnotations = true; // display annotation JSON export button 331 332 333 } 334 else { 335 // Editing not actionable, but still want a user to see the annotation in the Mirador3 viewer 336 // => Trigger getting the static (non-editable) version that is in the returned loadedManifest JSON 337 mirador3_config.windows[0].loadedManifest = httpDocumentIIIFManifest + "&includeFileAssocOpenAnnotations=true"; 332 338 } 333 339 }
Note:
See TracChangeset
for help on using the changeset viewer.