PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | admin/resources/vbocore.js +7 -3 1.8.7 → 1.8.16 View file →
@@ -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) {