Skip to content
Snippets Groups Projects
Commit e54a4ec4 authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix linter errors

parent e315bf54
No related branches found
No related tags found
No related merge requests found
Pipeline #87601 passed
......@@ -1886,8 +1886,6 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
*
*/
addOpenFolderTableEntry() {
const i18n = this._i18n;
// Avoid row animation for previously created folders
if (this._('.addRowAnimation')) {
this._('.addRowAnimation').classList.remove('addRowAnimation');
......@@ -1895,25 +1893,12 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
this.disableRowClick = true;
/**
that._('#new-folder-row-btn').addEventListener("click", event => {
that.addNewFolder();
event.stopPropagation();
});
that._('#new-folder-row').addEventListener('keydown', (event) => {
if (event.key === 'Escape') {
that.deleteNewFolderEntry();
event.stopPropagation();
}
});
document.addEventListener('keydown', this.boundCancelNewFolderHandler);
that._('#new-folder-row').addEventListener('click', (event) => {
event.stopPropagation();
});
*/
// that._('#new-folder-row').addEventListener('keydown', (event) => {
// if (event.key === 'Escape') {
// that.deleteNewFolderEntry();
// event.stopPropagation();
// }
// });
// Click handler should ignore first click
this.initateOpenNewFolder = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment