| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | /** |
| 2 | - * VikBooking Core v1.8.7 | |
| 2 | + * VikBooking Core v1.8.8 | |
| 3 | 3 | * Copyright (C) 2026 E4J s.r.l. All Rights Reserved. |
| 4 | 4 | * http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL |
| 5 | 5 | * https://vikwp.com | https://e4j.com | https://e4jconnect.com |
| 6 | 6 | */ |
| @@ -2608,8 +2608,9 @@ | ||
| 2608 | 2608 | minimizeable: false, |
| 2609 | 2609 | escape_dismiss: true, |
| 2610 | 2610 | footer_left: null, |
| 2611 | 2611 | footer_right: null, |
| 2612 | + footer_center: null, | |
| 2612 | 2613 | resize_event: null, |
| 2613 | 2614 | dismiss_event: null, |
| 2614 | 2615 | dismissed_event: 'vbo-modal-dismissed', |
| 2615 | 2616 | onDismiss: null, |
| @@ -2915,9 +2916,9 @@ | ||
| 2915 | 2916 | modal_body.append(modal_content_wrapper); |
| 2916 | 2917 | |
| 2917 | 2918 | // modal footer |
| 2918 | 2919 | let modal_footer = null; |
| 2919 | - if (options.footer_left || options.footer_right) { | |
| 2920 | + if (options.footer_left || options.footer_right || options.footer_center) { | |
| 2920 | 2921 | modal_footer = $('<div></div>').addClass('vbo-modal-overlay-content-footer'); |
| 2921 | 2922 | if (options.footer_left) { |
| 2922 | 2923 | let modal_footer_left = $('<div></div>').addClass('vbo-modal-overlay-content-footer-left').append(options.footer_left); |
| 2923 | 2924 | modal_footer.append(modal_footer_left); |
| @@ -2925,9 +2926,12 @@ | ||
| 2925 | 2926 | if (options.footer_right) { |
| 2926 | 2927 | let modal_footer_right = $('<div></div>').addClass('vbo-modal-overlay-content-footer-right').append(options.footer_right); |
| 2927 | 2928 | modal_footer.append(modal_footer_right); |
| 2928 | 2929 | } |
| 2929 | - | |
| 2930 | + if (options.footer_center) { | |
| 2931 | + let modal_footer_center = $('<div></div>').addClass('vbo-modal-overlay-content-footer-center').append(options.footer_center); | |
| 2932 | + modal_footer.append(modal_footer_center); | |
| 2933 | + } | |
| 2930 | 2934 | } |
| 2931 | 2935 | |
| 2932 | 2936 | // finalize modal contents |
| 2933 | 2937 | if (options.header) { |