summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-11-15 16:33:35 +0100
committerGitHub <noreply@github.com>2021-11-15 16:33:35 +0100
commit05481edba0447e932b49d83d7b135ae92a856e94 (patch)
treea04a7950b5a5e2729875757959ba3ee05041dd22
parent89ce52f2e259c6561bba4165e8126b395206a96d (diff)
parent3adf58f3afb1230bc7483230d7190ab7c75678f4 (diff)
downloadnextcloud-server-05481edba0447e932b49d83d7b135ae92a856e94.tar.gz
nextcloud-server-05481edba0447e932b49d83d7b135ae92a856e94.zip
Merge pull request #29707 from nextcloud/backport/29679/stable21
[stable21] don't flash external storage mountpoints during the status check
-rw-r--r--apps/files_external/css/external.css5
-rw-r--r--apps/files_external/js/statusmanager.js3
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);