Skip to content

Commit

Permalink
Annotations: show hint about closing editor before continuing
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Feb 1, 2024
1 parent a2230b4 commit 61c8160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/pages/annotate.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,14 @@
<fx-load url="templates/pages/annotation/{event('type')}-editor.html"
attach-to="#authority-editor"></fx-load>
<fx-setvalue ref="instance()/authority-editor" value="event('type')"></fx-setvalue>
<fx-message>Remember to close/save editor before continuing</fx-message>
<fx-dispatch name="pb-disable" targetid="view1"></fx-dispatch>
</fx-action>

<fx-action event="pb-authority-edit-entity" target="#document">
<fx-setvalue ref="authority">true</fx-setvalue>
<fx-setvalue ref="ref" value="event('id')"></fx-setvalue>
<fx-message>Type: {event('type')} – {instance()/authority}</fx-message>
<fx-message>Remember to close/save editor before continuing</fx-message>
<fx-setvalue ref="instance()/authority-editor" value="event('type')"></fx-setvalue>
<fx-load url="templates/pages/annotation/{event('type')}-editor.html"
attach-to="#authority-editor"></fx-load>
Expand Down Expand Up @@ -327,7 +328,6 @@

<!-- ### an authority has been created by an plugin authority form -->
<fx-action event="authority-created" target="#document">
<fx-message>authority-created id:{event('ref')}</fx-message>
<!--fx-call function="updateAnnotationDetails(event('ref'))"></fx-call-->
<fx-setvalue ref="authority">false</fx-setvalue>
<fx-setvalue ref="occurrences">true</fx-setvalue>
Expand Down

0 comments on commit 61c8160

Please sign in to comment.