mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Replaced document ready call in all templates
This commit is contained in:
parent
aeb8c3d86e
commit
28afe4d1c7
7 changed files with 7 additions and 7 deletions
|
@ -437,7 +437,7 @@
|
|||
<script src="<?= asset_url('assets/js/frontend_book.js') ?>"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$(function () {
|
||||
FrontendBook.initialize(true, GlobalVariables.manageMode);
|
||||
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
||||
});
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
$(document).ready(function () {
|
||||
$(function () {
|
||||
BackendCalendar.initialize(GlobalVariables.calendarView);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
BackendCustomers.initialize(true);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
BackendServices.initialize(true);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
BackendSettings.initialize(true);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
BackendUsers.initialize(true);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
||||
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue