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

how do I call manuallyReleaseData method ? #135

Open
michaelnguyen2021 opened this issue Feb 22, 2016 · 2 comments
Open

how do I call manuallyReleaseData method ? #135

michaelnguyen2021 opened this issue Feb 22, 2016 · 2 comments
Assignees

Comments

@michaelnguyen2021
Copy link

I try the below but the data aren't cleared

var sisyphus = $('form').sisyphus({
    onRestore: function() {
        $('select').trigger('chosen:updated');
    }
});    

sisyphus.manuallyReleaseData(); 
@simsalabim simsalabim self-assigned this Mar 28, 2016
@leoliu1221
Copy link

try $('form').sisyphus.manuallyReleaseData(); it worked for me.

@marknuyens
Copy link

marknuyens commented Jan 25, 2017

@leolincoln You forgot to write it as a function: $('form').sisyphus().manuallyReleaseData(); <- "()"

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

4 participants