From 179d05424f8ccca86e9acf4d52cf6530be35afbb Mon Sep 17 00:00:00 2001 From: Marcel Schaeben Date: Fri, 23 Apr 2021 16:09:29 +0200 Subject: [PATCH] css: fix publication selection --- css/epidoc_c.less | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/css/epidoc_c.less b/css/epidoc_c.less index a119721..d09eb15 100644 --- a/css/epidoc_c.less +++ b/css/epidoc_c.less @@ -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" + ) ) );