Skip to content

Commit

Permalink
css: fix publication selection
Browse files Browse the repository at this point in the history
  • Loading branch information
olvidalo committed Apr 23, 2021
1 parent 3fd3b2d commit 179d054
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions css/epidoc_c.less
Original file line number Diff line number Diff line change
Expand Up @@ -572,11 +572,12 @@ note[type=publication] idno {
onChange, oxy_action(
name, 'Insert',
operation, 'XQueryUpdateOperation',
arg-script, "let $backendURL = \"{@backendURL}\" " `"\
let $pubId := substring-after(@corresp, '#') \
let $pubDesc := doc('$backendURL/modules/oxygen-tools.xql?what=pubIdno&id='||$pubId) \
return replace value of node . with $pubDesc \
"`
arg-script, oxy_concat(
"let $backendURL := '@{backendUrl}'",
"let $pubId := substring-after(@corresp, '#')",
"let $pubDesc := doc($backendURL || '/modules/oxygen-tools.xql?what=pubIdno&id=' || $pubId)",
"return replace value of node . with $pubDesc"
)
)
);

Expand Down

0 comments on commit 179d054

Please sign in to comment.