diff options
author | szaimen <szaimen@e.mail.de> | 2021-11-12 12:38:46 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-11-15 12:18:15 +0000 |
commit | 3adf58f3afb1230bc7483230d7190ab7c75678f4 (patch) | |
tree | c34c3831cc32a756761e2f35a636e70a37dffb66 /apps/files_external | |
parent | 3840d0a5dc1e1ee48d13cded705450752464dedd (diff) | |
download | nextcloud-server-3adf58f3afb1230bc7483230d7190ab7c75678f4.tar.gz nextcloud-server-3adf58f3afb1230bc7483230d7190ab7c75678f4.zip |
don't flash external storage mountpoints during the status check
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/css/external.css | 5 | ||||
-rw-r--r-- | apps/files_external/js/statusmanager.js | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/apps/files_external/css/external.css b/apps/files_external/css/external.css index bf57ec88053..122459c9624 100644 --- a/apps/files_external/css/external.css +++ b/apps/files_external/css/external.css @@ -1,8 +1,3 @@ -#filestable tbody tr.externalDisabledRow { - background-color: #CCC; -} - - #filestable tbody tr.externalErroredRow { background-color: #F2DEDE; } diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index c3945991810..23011068ed4 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -254,8 +254,6 @@ OCA.Files_External.StatusManager = { OCA.Files_External.StatusManager.Utils.changeFolderIcon(elementList); // Save default view OCA.Files_External.StatusManager.Utils.storeDefaultFolderIconAndBgcolor(elementList); - // Disable row until check status - elementList.addClass('externalDisabledRow'); OCA.Files_External.StatusManager.Utils.toggleLink(elementList.find('a.name'), false, false); } } @@ -505,7 +503,6 @@ OCA.Files_External.StatusManager.Utils = { // can't use here FileList.findFileEl(OCA.Files_External.StatusManager.Utils.jqSelEscape(folder)); return incorrect instance of filelist trFolder = $('#fileList tr[data-file=\"' + OCA.Files_External.StatusManager.Utils.jqSelEscape(folder) + '\"]'); } - trFolder.removeClass('externalErroredRow').removeClass('externalDisabledRow'); var tdChilds = trFolder.find("td.filename div.thumbnail"); tdChilds.each(function () { var thisElement = $(this); |