From fec4938fc031b0b14eed3fa2bc2c94c997cec956 Mon Sep 17 00:00:00 2001 From: azhar bhat Date: Tue, 18 Aug 2026 12:24:47 +0530 Subject: [PATCH] Correct: function names Co-authored-by: Name --- admin/themes/default/js/modernizr-loads.js | 2 +- .../views/js/admin/hotel_rooms_booking.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/themes/default/js/modernizr-loads.js b/admin/themes/default/js/modernizr-loads.js index 2009122da..f4142963e 100644 --- a/admin/themes/default/js/modernizr-loads.js +++ b/admin/themes/default/js/modernizr-loads.js @@ -6,7 +6,7 @@ Modernizr.load([ { load: ["themes/default/js/vendor/enquire.min.js", "themes/default/js/admin-theme.js"], complete: function() { - $(document).trigger('QloApps:adminThemeReady'); + $(document).trigger('admin-theme.js.ready'); } } ]); \ No newline at end of file diff --git a/modules/hotelreservationsystem/views/js/admin/hotel_rooms_booking.js b/modules/hotelreservationsystem/views/js/admin/hotel_rooms_booking.js index 5017805f5..8d37728d8 100644 --- a/modules/hotelreservationsystem/views/js/admin/hotel_rooms_booking.js +++ b/modules/hotelreservationsystem/views/js/admin/hotel_rooms_booking.js @@ -141,7 +141,7 @@ $(document).ready(function() { if (typeof initTooltip === 'function') { initBookingCalendar(); } else { - $(document).on('QloApps:adminThemeReady', initBookingCalendar); + $(document).on('admin-theme.js.ready', initBookingCalendar); } }