From 78fc9757f99bb4f8fb508cfa07e7d358ba3cfc94 Mon Sep 17 00:00:00 2001 From: olga-kulish Date: Fri, 15 Nov 2024 10:46:39 +0300 Subject: [PATCH] fix: textReader: widgets waiting for delete confirm weren't removed on editor blur --- .../textReaderInteraction/creator/widget/states/Question.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/js/pciCreator/ims/textReaderInteraction/creator/widget/states/Question.js b/views/js/pciCreator/ims/textReaderInteraction/creator/widget/states/Question.js index e3cc7b6..b2a4f3e 100644 --- a/views/js/pciCreator/ims/textReaderInteraction/creator/widget/states/Question.js +++ b/views/js/pciCreator/ims/textReaderInteraction/creator/widget/states/Question.js @@ -376,7 +376,8 @@ define([ related : interaction, colIndex : colIndex, highlight: true, - areaBroker: widget.getAreaBroker() + areaBroker: widget.getAreaBroker(), + flushDeletingWidgetsOnDestroy: true }); $editor.on('editorready', function() {