_decodeProperties($_smarty_tpl, array ( 'version' => '4.3.0', 'unifunc' => 'content_661b90e6456901_69785706', 'has_nocache_code' => false, 'file_dependency' => array ( 'a491547ae68c37c6ce0f309c40ced678a172ab13' => array ( 0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_urlaub.tpl', 1 => 1710804578, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_661b90e6456901_69785706 (Smarty_Internal_Template $_smarty_tpl) { ?>

Loading...

Bitte Mitarbeiter auswählen.

tpl_vars['mid']->value == 0) {?>

> var jahr = 'tpl_vars['jahr']->value;?> '; > > var mitarbeiter = 'tpl_vars['madata']->value['mid'];?> '; > > function ma_wahl(jahr) { $('#spinner-div').show(); var mdata = $("#maID").val(); $.ajax({ type: 'POST', url: "ajax.php?s=kal_urlaub&tpl", dataType: 'html', data: 'jahr=' + jahr + "&maID=" + mdata, success: function (data) { console.log(data) $("#kaledit").html(data); $('#spinner-div').hide(); } }); } function kaledit2(time,maID,gID) { var remember = document.getElementById('info_'+time); if (remember.checked){ var istC = 1; }else{ var istC = 0; } $.ajax({ type: 'POST', url: "ajax.php?s=kal_save&a=date_save", dataType: 'json', data: 'time=' + time + "&maID="+maID+"&istC="+istC+"&gID="+gID, beforeSend:function() { $('.loader').show(); }, success: function (data) { if(data.success == true) { $.notify({ icon: 'glyphicon glyphicon-warning-ok', message: data.lastnote },{ type: 'info', showProgressbar: true, delay: 300, newest_on_top: false, element: 'body', placement: { from: "bottom", align: "right" }, animate: { enter: 'animated fadeInDown', exit: 'animated fadeOutUp' } }); } console.log(data) } });load_free_urlaub(mitarbeiter,jahr) } load_free_urlaub(mitarbeiter,jahr); $(document).ready(function () { $("#do-call").click(function () {//The load button $('#spinner-div').show();//Load button clicked show spinner $.ajax({ url: "https://jb-data.de/", type: 'GET', dataType: 'json', success: function (res) { //On success do something.... }, complete: function () { $('#spinner-div').hide();//Request is complete so hide spinner } }); }); }); >