fix async table using previous requests url

This commit is contained in:
Felix Hamann 2019-04-10 08:49:24 +02:00
parent db8e527bbc
commit f601cc8771

View File

@ -68,6 +68,9 @@
processLocalStorage();
// clear currentTableUrl from previous requests
setLocalStorageParameter('currentTableUrl', null);
// mark initialized
element.classList.add(ASYNC_TABLE_INITIALIZED_CLASS);
@ -337,6 +340,7 @@
element.classList.remove(ASYNC_TABLE_LOADING_CLASS);
}).catch(function(err) {
console.error(err);
element.classList.remove(ASYNC_TABLE_LOADING_CLASS);
});
}