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

ERROR [Async load] Calling 'onStepChanged' before request done #88

Closed
sjke opened this issue Aug 31, 2014 · 2 comments
Closed

ERROR [Async load] Calling 'onStepChanged' before request done #88

sjke opened this issue Aug 31, 2014 · 2 comments

Comments

@sjke
Copy link

sjke commented Aug 31, 2014

see: https://github.com/rstaib/jquery-steps/blob/master/build/jquery.steps.js#L512
easy way:

$.when(loadAsyncContent).then( function() {
        startTransitionEffect(wizard, options, state, index, oldIndex);
        wizard.triggerHandler("stepChanged", [index, oldIndex]);
});
@sjke
Copy link
Author

sjke commented Aug 31, 2014

#90

@rstaib
Copy link
Owner

rstaib commented Aug 31, 2014

This isn't a bug cause the onStepChanged event hander is called when the step really changes not the step content. What you're looking for is an new event that fires when the step content is loaded.

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