Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SADE
SADE
Commits
d9775d56
Commit
d9775d56
authored
Jul 06, 2017
by
Mathias Goebel
🎠
Browse files
login before storing
parent
37dabcc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/misc.xqm
View file @
d9775d56
...
...
@@ -443,7 +443,7 @@ declare function f-misc:textgridStatus($node as node(), $model as map(*)) {
let $status := httpclient:get(xs:anyURI($url), false(), ())//xhtml:div[contains(@class, 'repstatus')][not( contains(@class, 'ok') )]
let $status := if( exists( $status ) ) then $status else <ok/>
return
xmldb:store($col, $res, $status)
(xmldb:login($col, config:get("sade.user"), config:get("sade.password")),
xmldb:store($col, $res, $status)
)
else ()
let $doc := doc( $col || "/" || $res )
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment