From 236009e508245ba10aa5f45b9514c8186ab186cf Mon Sep 17 00:00:00 2001 From: Johannes Eder Date: Sun, 22 May 2022 21:00:11 +0200 Subject: [PATCH] fix(async-tabel, async-form): removed destroyAll call --- frontend/src/utils/async-form/async-form.js | 1 - frontend/src/utils/async-table/async-table.js | 1 - 2 files changed, 2 deletions(-) diff --git a/frontend/src/utils/async-form/async-form.js b/frontend/src/utils/async-form/async-form.js index d226a546b..6bfc37c26 100644 --- a/frontend/src/utils/async-form/async-form.js +++ b/frontend/src/utils/async-form/async-form.js @@ -60,7 +60,6 @@ export class AsyncForm { setTimeout(() => { parentElement.insertBefore(responseElement, this._element); this._element.remove(); - this._app.utilRegistry.destroyAll(this._element); }, delay); } diff --git a/frontend/src/utils/async-table/async-table.js b/frontend/src/utils/async-table/async-table.js index 1cc6212f3..28ffae657 100644 --- a/frontend/src/utils/async-table/async-table.js +++ b/frontend/src/utils/async-table/async-table.js @@ -447,7 +447,6 @@ export class AsyncTable { this._element.classList.remove(ASYNC_TABLE_INITIALIZED_CLASS); this._element.dataset['currentTableUrl'] = url.href; - this._app.utilRegistry.destroyAll(this._element); // update table with new this._element.innerHTML = response.element.innerHTML;