mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-02 16:23:04 +00:00
Fix for tornado 6.3 no response in restart moment
Update test results (many tests fail due to above problem)
This commit is contained in:
@@ -333,7 +333,6 @@ $(function() {
|
||||
} else {
|
||||
$("#parent").addClass('hidden')
|
||||
}
|
||||
// console.log(data);
|
||||
data.files.forEach(function(entry) {
|
||||
if(entry.type === "dir") {
|
||||
var type = "<span class=\"glyphicon glyphicon-folder-close\"></span>";
|
||||
@@ -398,6 +397,11 @@ $(function() {
|
||||
success: function success() {
|
||||
$("#spinner").show();
|
||||
setTimeout(restartTimer, 3000);
|
||||
},
|
||||
error: function (xhr) {
|
||||
// Fix for new tornado versions , not returning a response during restart
|
||||
$("#spinner").show();
|
||||
setTimeout(restartTimer, 3000);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user