From f883fbc8d4abccc61288b73c95cbb6ce54c44698 Mon Sep 17 00:00:00 2001 From: Tamara Steinwender <tamara.steinwender@tugraz.at> Date: Tue, 20 Jul 2021 13:04:44 +0200 Subject: [PATCH] Remove comments --- packages/file-handling/src/nextcloud-file-picker.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/file-handling/src/nextcloud-file-picker.js b/packages/file-handling/src/nextcloud-file-picker.js index d04153e9..1879a105 100644 --- a/packages/file-handling/src/nextcloud-file-picker.js +++ b/packages/file-handling/src/nextcloud-file-picker.js @@ -354,7 +354,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { * */ async checkSessionStorage() { - //comment in for remember me functionality + // Comment in for remember me functionality /*if (sessionStorage.getItem("nextcloud-webdav-username") && sessionStorage.getItem("nextcloud-webdav-password")) { this.webDavClient = createClient( this.webDavUrl + "/" + sessionStorage.getItem("nextcloud-webdav-username"), @@ -398,10 +398,8 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { const authUrl = this.authUrl + "?target-origin=" + encodeURIComponent(window.location.href); this.loginWindow = window.open(authUrl, "Nextcloud Login", "width=400,height=400,menubar=no,scrollbars=no,status=no,titlebar=no,toolbar=no"); - //console.log("open nextcloud filepicker, no webdavclient"); } else { this.loadDirectory(this.directoryPath, this.webDavClient); - //console.log("load in nextcloud webcomponent"); } } @@ -418,7 +416,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { this.loginWindow.close(); } - // see https://github.com/perry-mitchell/webdav-client/blob/master/API.md#module_WebDAV.createClient + // See https://github.com/perry-mitchell/webdav-client/blob/master/API.md#module_WebDAV.createClient this.webDavClient = createClient( data.webdavUrl || this.webDavUrl + "/" + data.loginName, { @@ -459,7 +457,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { path = ''; } - // console.log("load nextcloud directory", path); this.loading = true; this.statusText = i18n.t('nextcloud-file-picker.loadpath-nextcloud-file-picker', {name: this.nextcloudName}); this.lastDirectoryPath = this.directoryPath; -- GitLab