[BUGFIX] Prevent empty new form from being closed without confirmation
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / OuterWrapContainer.html
index 738b409..35b4406 100644 (file)
@@ -11,7 +11,7 @@
        </f:be.infobox>
 </f:if>
 
-<div class="typo3-TCEforms">
+<div class="typo3-TCEforms{f:if(condition:isNewRecord, then:' has-change')}">
        <f:format.raw>{fieldInformationHtml}</f:format.raw>
        <f:format.raw>{fieldWizardHtml}</f:format.raw>
        <f:format.raw>{childHtml}</f:format.raw>