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); } }