simsalabim/sisyphus

No errors, no fields values restored

Closed this issue · 6 comments

Hi,

Thank you for the great plugin (will contribute once get it working).

An installation note would be great so people avoid simple mistakes.

I've included the script at the bottom of my Tweeter Bootstrap 3 under all other JS includes like jQuery, added code initiating the plugin with 0 second timeout and nothing happens. There is no error messages nor it's saving the form's state in Chrome (Firefox seem to have been doing it anyway when refresh pages).

<script type="text/javascript" src="js/sisyphus/sisyphus.min.js"></script> <script> jQuery(document).ready(function($) { // enable form state save on all forms $('form').sisyphus({timeout: 0}); }); </script>

The page in question: smartinsurance.webcoder.eu

TESTED ON:
Mac OS X: 10.8.5 (12F45)
Safari (latest)
Chrome (latest)
Firefox (latest)

Here is a clean HTML5 test page at smartinsurance.webcoder.eu/test.php that includes jquery and this plugin only. It simply does nothing?

@davss http://smartinsurance.webcoder.eu/test.php does not include the plugin. It includes jquery and rememberState plugin as an inline script.

I can access both from a dynamic and public IP. Strange... but thanks for your attempt to help anyway. I'm getting a front-end developer to look into it for me tomorrow alternatively we'll use a different script that does the job (managed to get it working partially on the same host / URL).

@davss I did access those pages, please read later comments. Both of the pages aren't using this plugin at all - you simply did not include it in source code. So I totally don't understand why you wrote above it includes jquery and this plugin only.

Sorry, we had to work on those files hence they got replaced. We used a different approach as well. Thank you!