don't flash external storage mountpoints during the status check

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2021-11-12 12:38:46 +01:00
parent eb7109b3f4
commit 73f99f3f7d
2 changed files with 0 additions and 8 deletions

View file

@ -1,8 +1,3 @@
#filestable tbody tr.externalDisabledRow {
background-color: #CCC;
}
#filestable tbody tr.externalErroredRow {
background-color: #F2DEDE;
}

View 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);