Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No errors, no fields values restored #95

Closed
davss opened this issue Mar 4, 2014 · 6 comments
Closed

No errors, no fields values restored #95

davss opened this issue Mar 4, 2014 · 6 comments

Comments

@davss
Copy link

davss commented Mar 4, 2014

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)

@davss
Copy link
Author

davss commented Mar 4, 2014

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

@simsalabim
Copy link
Owner

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

@simsalabim
Copy link
Owner

@davss neither http://smartinsurance.webcoder.eu/ does.

@davss
Copy link
Author

davss commented Mar 5, 2014

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 davss closed this as completed Mar 5, 2014
@simsalabim
Copy link
Owner

@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.

@simsalabim simsalabim reopened this Mar 5, 2014
@davss
Copy link
Author

davss commented Mar 6, 2014

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

@davss davss closed this as completed Mar 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants