fix async table using previous requests url
This commit is contained in:
parent
db8e527bbc
commit
f601cc8771
@ -68,6 +68,9 @@
|
|||||||
|
|
||||||
processLocalStorage();
|
processLocalStorage();
|
||||||
|
|
||||||
|
// clear currentTableUrl from previous requests
|
||||||
|
setLocalStorageParameter('currentTableUrl', null);
|
||||||
|
|
||||||
// mark initialized
|
// mark initialized
|
||||||
element.classList.add(ASYNC_TABLE_INITIALIZED_CLASS);
|
element.classList.add(ASYNC_TABLE_INITIALIZED_CLASS);
|
||||||
|
|
||||||
@ -337,6 +340,7 @@
|
|||||||
element.classList.remove(ASYNC_TABLE_LOADING_CLASS);
|
element.classList.remove(ASYNC_TABLE_LOADING_CLASS);
|
||||||
}).catch(function(err) {
|
}).catch(function(err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
element.classList.remove(ASYNC_TABLE_LOADING_CLASS);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user