SHARE
TWEET

Untitled

a guest Jun 25th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('body').idle({
  2.       onIdle: function(){
  3.         $("#workingState").html('<?=displayInLanguage("<p>Stav:   <strong>neaktĂ­vny, obsah uloĹženĂ˝.</strong></p>", "<p>Status: <strong>inactive, content saved.</strong></p>")?>');
  4.  
  5.         if( $('#show_add_actuality').hasClass('d-block') ){
  6.             saveForm('actualityForm_sk', "autoSaveScript");
  7.             saveForm('actualityForm_en', "autoSaveScript");
  8.         }
  9.       },
  10.       onActive: function(){
  11.         $("#workingState").html('<?=displayInLanguage("<p>Stav: <strong>aktĂ­vny</strong></p>", "<p>Status: <strong>active</strong></p>")?>');
  12.       },
  13.       idle: 2000
  14.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top