Proclamazione di sciopero

  • Versione
  • Scarica 3
  • Dimensioni file 137 KB
  • Conteggio file 1
  • Data di Pubblicazione 28 Ottobre 2021
  • Ultimo aggiornamento 28 Ottobre 2021

Proclamazione di sciopero


"); $('#wpdmloginmodal-submit').html(llbl); }, success: function (res) { if (!res.success) { $('form .alert-danger').hide(); $('#modalloginform').prepend("
"+res.message+"
"); $('#wpdmloginmodal-submit').html(llbl); } else { $('#wpdmloginmodal-submit').html(wpdm_js.spinner+" "+res.message); location.href = __lm_redirect_to; } } }); return false; }); $body.on('click', 'form .alert-danger', function(){ $(this).slideUp(); }); $body.on('click', '.wpdmloginmodal-trigger', function (e) { e.preventDefault(); if($(this).data('redirect') !== undefined) { __lm_redirect_to = $(this).data('redirect'); console.log(__lm_redirect_to); } if($(this).data('logo') !== undefined) { __lm_logo = $(this).data('logo'); } $('#wpdm_modal_login_logo').html("logo"); $('#wpdmloginmodal').modal('show'); }); $('#wpdmloginmodal').on('shown.bs.modal', function (event) { var trigger = $(event.relatedTarget); console.log(trigger.data('redirect')); if(trigger.data('redirect') !== undefined) { __lm_redirect_to = trigger.data('redirect'); console.log(__lm_redirect_to); } if($(this).data('logo') !== undefined) { __lm_logo = $(this).data('logo'); } $('#wpdm_modal_login_logo').html("logo"); $('#user_login').trigger('focus') }); $(window).keydown(function(event) { if(event.ctrlKey && event.keyCode === 76) { $('#wpdmloginmodal').modal('show'); /*console.log("Hey! Ctrl + "+event.keyCode);*/ event.preventDefault(); } }); });