Fix wysiwyg form container for prefixed forms (2)
authorMatthias Schmidt <gravatronics@live.com>
Sun, 29 Sep 2019 13:52:21 +0000 (15:52 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 29 Sep 2019 13:52:21 +0000 (15:52 +0200)
wcfsetup/install/files/acp/templates/__wysiwygAttachmentFormField.tpl

index 4a12ce6d371fb0d862badc8adee2be6e777fb364..6517d07e96e2c4e15e41594f1612fd5367215bb6 100644 (file)
@@ -66,7 +66,7 @@
                        '{$field->getAttachmentHandler()->getTmpHashes()[0]|encodeJS}',
                        '{@$field->getAttachmentHandler()->getParentObjectID()}',
                        {@$field->getAttachmentHandler()->getMaxCount()},
-                       '{@$field->getWysiwygId()}'
+                       '{@$field->getPrefixedWysiwygId()}'
                );
                new WCF.Action.Delete('wcf\\data\\attachment\\AttachmentAction', '.formAttachmentList > li');
        });