Sisyphus.js is a lightweight (2Kb) jQuery plugin uses HTML5 Local Storage to prevent your work being lost when you're almost done with that browser is crashed, or you closed tab mistakenly, or electricity is turned off, or something else.

The first thought when I saw this plugin was it could be very useful to save limesurvey inputs, especially in all-in-one page settings, or survey on mobile devices.

So I did a test with a simple custom-load in template.js:
jQuery(function($){
jQuery.getScript('https://raw.github.com/simsalabim/sisyphus/master/sisyphus.min.js',
function(){
$('form').sisyphus();
}
);
focusFirst();
})

It works quite well, I think many others will like that too, so there goes the patch submitted for limesurvey.
7/14/2015 07:55:32

Reply



Leave a Reply.