update
This commit is contained in:
@@ -44,6 +44,9 @@
|
||||
|
||||
<!-- CSS for LTR layout-->
|
||||
@vite(['resources/sass/app.scss'])
|
||||
|
||||
<!-- Global Modal CSS -->
|
||||
@vite(['resources/css/components/micromodal.css'])
|
||||
|
||||
<!-- CSS for RTL layout-->
|
||||
|
||||
@@ -77,6 +80,9 @@
|
||||
|
||||
<!-- common js -->
|
||||
@vite(['resources/js/pages/template.js'])
|
||||
|
||||
<!-- Global Modal JS -->
|
||||
@vite(['resources/js/components/micromodal.js'])
|
||||
<!-- end common js -->
|
||||
|
||||
<!-- Global Select2 initialization -->
|
||||
@@ -88,6 +94,16 @@
|
||||
height: "100%",
|
||||
});
|
||||
};
|
||||
|
||||
// Global ModalManager initialization
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (typeof ModalManager !== 'undefined') {
|
||||
ModalManager.init();
|
||||
console.log('ModalManager initialized globally');
|
||||
} else {
|
||||
console.warn('ModalManager not loaded');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@include('administrator.layout.partials.toast')
|
||||
|
||||
Reference in New Issue
Block a user