Fix refreshing activity after losing connection
This commit is contained in:
@@ -276,6 +276,7 @@
|
|||||||
async: true,
|
async: true,
|
||||||
error: function (xhr, status, error) {
|
error: function (xhr, status, error) {
|
||||||
console.log(status + ': ' + error);
|
console.log(status + ': ' + error);
|
||||||
|
activity_ready = true;
|
||||||
},
|
},
|
||||||
complete: function (xhr, status) {
|
complete: function (xhr, status) {
|
||||||
$('#dashboard-checking-activity').remove();
|
$('#dashboard-checking-activity').remove();
|
||||||
|
Reference in New Issue
Block a user