update
This commit is contained in:
No files matched your search
@@ -260,6 +260,11 @@
|
|||||||
@push('script')
|
@push('script')
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function () {
|
(function () {
|
||||||
|
if (window.criticalValueNotificationBellInitialized) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
window.criticalValueNotificationBellInitialized = true;
|
||||||
|
|
||||||
var refreshUrl = "{{ route('criticalValueNotificationSummary') }}";
|
var refreshUrl = "{{ route('criticalValueNotificationSummary') }}";
|
||||||
var refreshIntervalMs = 20000;
|
var refreshIntervalMs = 20000;
|
||||||
var inFlight = null;
|
var inFlight = null;
|
||||||
@@ -293,8 +298,8 @@
|
|||||||
$(function () {
|
$(function () {
|
||||||
setBadge(parseInt($('#notificationcount').text(), 10) || 0);
|
setBadge(parseInt($('#notificationcount').text(), 10) || 0);
|
||||||
refreshCriticalBell();
|
refreshCriticalBell();
|
||||||
setInterval(refreshCriticalBell, refreshIntervalMs);
|
window.criticalValueNotificationBellTimer = setInterval(refreshCriticalBell, refreshIntervalMs);
|
||||||
$('#notification-bell-icon').closest('.dropdown').on('shown.bs.dropdown', refreshCriticalBell);
|
$('#notification-bell-icon').closest('.dropdown').off('shown.bs.dropdown.critical-bell').on('shown.bs.dropdown.critical-bell', refreshCriticalBell);
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -5756,12 +5756,18 @@
|
|||||||
}
|
}
|
||||||
$(function() {
|
$(function() {
|
||||||
CKEDITOR.env.isCompatible = true;
|
CKEDITOR.env.isCompatible = true;
|
||||||
CKEDITOR.replace( 'keterangan');
|
function ensureCkeditorInstance(id) {
|
||||||
CKEDITOR.replace( 'lsg_ditemukanmorfologi');
|
if (document.getElementById(id) && !CKEDITOR.instances[id]) {
|
||||||
CKEDITOR.replace( 'lsg_pewarnaanlain');
|
CKEDITOR.replace(id);
|
||||||
CKEDITOR.replace( 'viralload');
|
}
|
||||||
CKEDITOR.replace( 'iggigm_interpretasi');
|
}
|
||||||
CKEDITOR.replace( 'addendumketerangan');
|
|
||||||
|
ensureCkeditorInstance('keterangan');
|
||||||
|
ensureCkeditorInstance('lsg_ditemukanmorfologi');
|
||||||
|
ensureCkeditorInstance('lsg_pewarnaanlain');
|
||||||
|
ensureCkeditorInstance('viralload');
|
||||||
|
ensureCkeditorInstance('iggigm_interpretasi');
|
||||||
|
ensureCkeditorInstance('addendumketerangan');
|
||||||
$("#mulai").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
$("#mulai").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||||
$("#akhir").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
$("#akhir").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||||
$("#id_tanggalpengambilancontohuji").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
$("#id_tanggalpengambilancontohuji").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||||
|
|||||||
@@ -5795,12 +5795,18 @@
|
|||||||
}
|
}
|
||||||
$(function() {
|
$(function() {
|
||||||
CKEDITOR.env.isCompatible = true;
|
CKEDITOR.env.isCompatible = true;
|
||||||
CKEDITOR.replace( 'keterangan');
|
function ensureCkeditorInstance(id) {
|
||||||
CKEDITOR.replace( 'lsg_ditemukanmorfologi');
|
if (document.getElementById(id) && !CKEDITOR.instances[id]) {
|
||||||
CKEDITOR.replace( 'lsg_pewarnaanlain');
|
CKEDITOR.replace(id);
|
||||||
CKEDITOR.replace( 'viralload');
|
}
|
||||||
CKEDITOR.replace( 'iggigm_interpretasi');
|
}
|
||||||
CKEDITOR.replace( 'addendumketerangan');
|
|
||||||
|
ensureCkeditorInstance('keterangan');
|
||||||
|
ensureCkeditorInstance('lsg_ditemukanmorfologi');
|
||||||
|
ensureCkeditorInstance('lsg_pewarnaanlain');
|
||||||
|
ensureCkeditorInstance('viralload');
|
||||||
|
ensureCkeditorInstance('iggigm_interpretasi');
|
||||||
|
ensureCkeditorInstance('addendumketerangan');
|
||||||
$("#mulai").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
$("#mulai").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||||
$("#akhir").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
$("#akhir").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||||
$("#id_tanggalpengambilancontohuji").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
$("#id_tanggalpengambilancontohuji").datepicker({format: 'yyyy-mm-dd', autoclose: true});
|
||||||
|
|||||||
Reference in New Issue
Block a user