Commit Graph

48 Commits

Author SHA1 Message Date
Jan Lysý
f9ba4623c6 Create custom validation for names
I had to use a custom validation because we want to different
error message for each part of validation.
I didn't find a better solution for Parsley library.

[MAILPOET-3786]
2021-09-20 09:17:43 +02:00
Matthias Günter
28eb7e2c07 fix: avoid double execution of jQuery.ready 2021-06-15 13:27:38 +02:00
Jan Lysý
410c25482a Fix code style by updated eslint
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
wxa
c54f078cd1 Replace deprecated event shorthands [MAILPOET-3386] 2021-03-03 14:59:54 +01:00
Jan Lysý
4b78b6bc45 Render reCaptcha after its initialization
[MAILPOET-3390]
2021-02-04 12:29:57 +01:00
Jan Lysý
35149f6fa8 Show success message in form in preview
[MAILPOET-3195]
2020-11-12 09:24:58 +01:00
Jan Lysý
eee64cf4bd Hide form elements after sent a show center success message
[MAILPOET-3195]
2020-11-12 09:24:58 +01:00
Pavel Dohnal
a32c871405 Remove unused proprty
[MAILPOET-3088]
2020-09-16 14:30:16 +02:00
Pavel Dohnal
52953a0b80 Move properties directly to template
[MAILPOET-3088]
2020-09-16 14:30:16 +02:00
Pavel Dohnal
cdee23417e Display animation change in preview
[MAILPOET-3088]
2020-09-16 14:30:16 +02:00
Pavel Dohnal
9770840392 Always animate overlay
[MAILPOET-3088]
2020-09-16 14:30:16 +02:00
Pavel Dohnal
13804c7de7 Add fade-in animation
[MAILPOET-3088]
2020-09-16 14:30:16 +02:00
Pavel Dohnal
dfcc8f8ba6 Add animation class to the form
[MAILPOET-3088]
2020-09-16 14:30:16 +02:00
Pavel Dohnal
5982543b3b Make the event namespaced to prevent conflicts
[MAILPOET-3057]
2020-09-07 09:57:12 +02:00
Pavel Dohnal
3616bbe490 Prevent double opening popup
[MAILPOET-3057]
2020-09-07 09:57:12 +02:00
Pavel Dohnal
81a37be18f Display form on mouse exit
[MAILPOET-3057]
2020-09-07 09:57:12 +02:00
Rostislav Wolny
fc07909760 Hide manage subscription form success message on submit
[MAILPOET-1635]
2020-08-03 10:23:17 +02:00
Pavel Dohnal
989af457b4 Change the tight_container breakpoint
[MAILPOET-2964]
2020-06-16 09:38:19 +02:00
Pavel Dohnal
3f6bfaa875 Add fallback font
[MAILPOET-2965]
2020-06-15 10:21:46 +02:00
Pavel Dohnal
f1fe28d409 Render submit font in JS
[MAILPOET-2911]
2020-06-11 14:45:24 +02:00
Pavel Dohnal
942e520c56 Render font family
[MAILPOET-2911]
2020-06-11 14:45:24 +02:00
Rostislav Wolny
71b5b45991 Use container wrapper div to detect form width
[MAILPOET-2968]
2020-06-08 14:21:15 +02:00
Pavel Dohnal
7310bb9bcf Render fonts on frontend
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
Rostislav Wolny
0a22ba8b33 Fix last form block detection
[MAILPOET-2926]
2020-06-01 13:39:25 +02:00
Rostislav Wolny
a7cea43aac Refactor form preview specific FE functionality to extra module
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Rostislav Wolny
eb494d5ea9 Add live preview of width/position settings to preview
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
Pavel Dohnal
4cbaf975b0 Move style rendering
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
e26f5318ff Hide background on mobile
[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
f2078d670e Move background image to parent element
This is important for popup form to cover the whole popup

[MAILPOET-2880]
2020-05-20 10:16:56 +02:00
Pavel Dohnal
25525b4fc7 Close form on esc press
[MAILPET-2915]
2020-05-14 11:43:34 +02:00
Rostislav Wolny
3111f91622 Refactor tight container detection to a function
[MAILPOET-2850]
2020-05-12 14:59:23 +02:00
Rostislav Wolny
4cb7ba2424 Add different rendering for sidebar widget preview type
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Rostislav Wolny
e7b4ab1dfe Disable form submit in preview mode
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Rostislav Wolny
51f138483c Always display popups on form preview page
[MAILPOET-2743]
2020-04-27 11:21:28 +02:00
Pavel Dohnal
c0fd647f34 Display slide in form
[MAILPOET-2742]
2020-04-21 19:16:11 +02:00
Pavel Dohnal
68c4f96966 Add/remove tight container class on window resize
[MAILPOET-2740]
2020-04-15 17:26:03 +02:00
Pavel Dohnal
929fb7bf16 Delete cookie after forms is saved
[MAILPOET-2740]
2020-04-15 17:26:03 +02:00
Pavel Dohnal
20a29e6af5 Remove the margint bottom to keep height minimal
[MAILPOET-2740]
2020-04-15 17:26:03 +02:00
Pavel Dohnal
b00e56ce06 Display close button
[MAILPOET-2740]
2020-04-15 17:26:03 +02:00
Pavel Dohnal
18daadd3ec Display form on the correct position
[MAILPOET-2740]
2020-04-15 17:26:03 +02:00
Pavel Dohnal
665e68824e Display the fixed bar form on top
[MAILPOET-2740]
2020-04-15 17:26:03 +02:00
Pavel Dohnal
51d908c932 Prevent closing modal when clicking the overlay
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00
Pavel Dohnal
310c94480c Add form overlay
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00
Pavel Dohnal
bb5abe8f24 Prevent displaying popup after dismiss
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00
Pavel Dohnal
fd0abffd3a Add close icon
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00
Pavel Dohnal
149bb90245 Copy form colour to the popup background
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00
Pavel Dohnal
9d4bb40975 Display popup form
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00
Pavel Dohnal
a9179ea481 Convert public.js to es6 syntax
[MAILPOET-2741]
2020-04-01 10:54:24 +02:00