[BUGFIX] Trigger close & save modal if an IRRE record was removed 47/57947/2
authorDaniel Goerz <daniel.goerz@posteo.de>
Fri, 17 Aug 2018 11:58:01 +0000 (13:58 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 17 Aug 2018 12:49:01 +0000 (14:49 +0200)
Resolves: #85890
Releases: master
Change-Id: I73972920dbb7046e8ab7cf95577cb2f5af99c095
Reviewed-on: https://review.typo3.org/57947
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js

index 394a923..c20313e 100644 (file)
@@ -767,6 +767,9 @@ var inline = {
         if (TBE_EDITOR) {
           TBE_EDITOR.fieldChanged_fName(objectName, formObj);
         }
+
+        $(formObj).addClass('has-change');
+        $(document).trigger('change');
         return parts.length;
       }
     }