Merge branch '774-async-table-async-form-fix' into 'master'
fix(async-tabel, async-form): removed destroyAll call Closes #774 See merge request uni2work/uni2work!91
This commit is contained in:
commit
f742da17df
@ -60,7 +60,6 @@ export class AsyncForm {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
parentElement.insertBefore(responseElement, this._element);
|
parentElement.insertBefore(responseElement, this._element);
|
||||||
this._element.remove();
|
this._element.remove();
|
||||||
this._app.utilRegistry.destroyAll(this._element);
|
|
||||||
}, delay);
|
}, delay);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -447,7 +447,6 @@ export class AsyncTable {
|
|||||||
this._element.classList.remove(ASYNC_TABLE_INITIALIZED_CLASS);
|
this._element.classList.remove(ASYNC_TABLE_INITIALIZED_CLASS);
|
||||||
this._element.dataset['currentTableUrl'] = url.href;
|
this._element.dataset['currentTableUrl'] = url.href;
|
||||||
|
|
||||||
this._app.utilRegistry.destroyAll(this._element);
|
|
||||||
// update table with new
|
// update table with new
|
||||||
this._element.innerHTML = response.element.innerHTML;
|
this._element.innerHTML = response.element.innerHTML;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user