save download path in database

This commit is contained in:
huangjx
2022-05-12 22:42:41 +08:00
parent cab95529dd
commit 02fb165405
7 changed files with 21 additions and 10 deletions

View File

@@ -287,13 +287,15 @@ const helper = {
container.setAttribute("type", name);
container.className = "table " + name;
},
filepicker(cb) {
filepicker(cb,currentPath) {
OC.dialogs.filepicker(
t('ncdownloader', 'Select a directory'),
cb,
false,
'httpd/unix-directory',
true
true,
OC.dialogs.FILEPICKER_TYPE_CHOOSE,
currentPath
);
},
getSettings(key, defaultValue = null, type = 2) {