Skip to content

Commit

Permalink
[FIX] DBA: directory change
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGruen committed Jan 31, 2025
1 parent a60ccc6 commit 3081416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion basex-api/src/main/webapp/dba/files/dir-change.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare variable $dba:CAT := 'files';
:)
declare
%rest:path('/dba/dir-change')
%rest:form-param('dir', '{$dir}')
%rest:query-param('dir', '{$dir}')
function dba:dir-change(
$dir as xs:string
) as element(rest:response) {
Expand Down
2 changes: 1 addition & 1 deletion basex-api/src/main/webapp/dba/files/files.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function dba:files(
<tr>
<td>
<h2>Directory</h2>
<form action='dir-change' method='post' autocomplete='off'>
<form action='dir-change' method='get' autocomplete='off'>
<select name='dir' style='width: 350px;' onchange='this.form.submit();'>{
let $dir-path := fn($path) {
try {
Expand Down

0 comments on commit 3081416

Please sign in to comment.