forked from mirrors/easyappointments
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 src="<?= asset_url('assets/js/frontend_book.js') ?>"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(function () {
|
||||||
FrontendBook.initialize(true, GlobalVariables.manageMode);
|
FrontendBook.initialize(true, GlobalVariables.manageMode);
|
||||||
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
||||||
});
|
});
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(function () {
|
||||||
BackendCalendar.initialize(GlobalVariables.calendarView);
|
BackendCalendar.initialize(GlobalVariables.calendarView);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(function() {
|
||||||
BackendCustomers.initialize(true);
|
BackendCustomers.initialize(true);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(function() {
|
||||||
BackendServices.initialize(true);
|
BackendServices.initialize(true);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(function() {
|
||||||
BackendSettings.initialize(true);
|
BackendSettings.initialize(true);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(function() {
|
||||||
BackendUsers.initialize(true);
|
BackendUsers.initialize(true);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(function() {
|
||||||
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
GeneralFunctions.enableLanguageSelection($('#select-language'));
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue