fix progress wheel
@@ -2351,9 +2351,9 @@ $(document).ready(function () {
$("#btn-confirm-delete").click(function () {
var deleteList = $("#fb-files-container li.ui-selected");
var filesToDelete = "";
- $(".file-browser-container, #fb-files-container").css("cursor", "progress");
if (deleteList.length) {
+ $(".file-browser-container, #fb-files-container").css("cursor", "progress");
var calls = [];
for (var i = 0; i < deleteList.length; i++) {
let item = $(deleteList[i]);
@@ -2402,6 +2402,7 @@ $(document).ready(function () {
}
});
}
+ $(".file-browser-container, #fb-files-container").css("cursor", "auto");
});
$.when.apply($, calls).fail(function () {
@@ -2412,6 +2413,7 @@ $(document).ready(function () {
else {
refreshFileBrowser();
}
+ $(".file-browser-container, #fb-files-container").css("cursor", "auto");
});
}
});
