Skip to content
Snippets Groups Projects
Commit 7fb663f9 authored by Markus Escher's avatar Markus Escher
Browse files

add getSystemAlias to downloadDocuments

parent a504b2cb
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ import("system.result");
import("system.db");
import("system.vars");
import("system.neon");
import("Sql_lib");
/**
* Provides static methods for managing documents.
......@@ -19,7 +20,7 @@ function DocumentUtil(){
* Documents will be downloaded with neon.doanload
*/
DocumentUtil.downloadSelectedDocuments = function() {
var alias = db.getCurrentAlias();
var alias = SqlUtils.getSystemAlias();
// Download selected files (=not opened)
if(vars.exists("$local.uids") && vars.get("$local.rows") != '') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment