Fix position
[MAILPOET-3072]
This commit is contained in:
@ -68,7 +68,7 @@ export default function mapFormDataBeforeSaving(data) {
|
||||
},
|
||||
};
|
||||
|
||||
delete mappedData.settings.placement;
|
||||
delete mappedData.settings.formPlacement;
|
||||
delete mappedData.settings.successValidationColor;
|
||||
delete mappedData.settings.errorValidationColor;
|
||||
delete mappedData.settings.borderRadius;
|
||||
|
@ -153,8 +153,8 @@ class DisplayFormInWPContent {
|
||||
((int)$_GET['mailpoet_error'] === $form->getId())
|
||||
);
|
||||
|
||||
$templateData['delay'] = $formSettings[$displayType]['delay'] ?? 0;
|
||||
$templateData['position'] = $formSettings[$displayType]['position'] ?? '';
|
||||
$templateData['delay'] = $formSettings['form_placement'][$displayType]['delay'] ?? 0;
|
||||
$templateData['position'] = $formSettings['form_placement'][$displayType]['position'] ?? '';
|
||||
$templateData['backgroundColor'] = $formSettings['backgroundColor'] ?? '';
|
||||
$templateData['fontFamily'] = $formSettings['font_family'] ?? '';
|
||||
|
||||
|
Reference in New Issue
Block a user