From d9c28d5a1e5d21f5d43422b67d63d92ba80a47d6 Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 2 Aug 2022 14:53:34 +0200 Subject: [PATCH] directly return from applyFilters() if the NM controller is not (yet) instantiated --- api/js/etemplate/et2_extension_nextmatch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 5ccebc0cb5..a7fda0ba29 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -618,7 +618,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 let keep_selection = false; // Avoid loops cause by change events - if(this.update_in_progress) return; + if(this.update_in_progress || !this.controller) return; this.update_in_progress = true; // Cleared explicitly