]> source.dussan.org Git - nextcloud-server.git/commitdiff
don't flash external storage mountpoints during the status check 29707/head
authorszaimen <szaimen@e.mail.de>
Fri, 12 Nov 2021 11:38:46 +0000 (12:38 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 15 Nov 2021 12:18:15 +0000 (12:18 +0000)
Signed-off-by: szaimen <szaimen@e.mail.de>
apps/files_external/css/external.css
apps/files_external/js/statusmanager.js

index bf57ec88053646857f223640edc61fa4f50e0a3f..122459c9624929906ac4e757ecaaae454cd4574a 100644 (file)
@@ -1,8 +1,3 @@
-#filestable tbody tr.externalDisabledRow {
-       background-color: #CCC;
-}
-
-
 #filestable tbody tr.externalErroredRow {
        background-color: #F2DEDE;
 }
index c39459918106a87de1fda194c1fd0bf09df0fb80..23011068ed423367b5c7d9f446956e9115c76b07 100644 (file)
@@ -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);