amoffat / bootstrap-application-wizard

MIT License
1.85k stars 388 forks source link

Error to reopen wizard by default. #113

Open molayac opened 8 years ago

molayac commented 8 years ago

When I open firts time the wizard it wors ok, but if without reload page I open again the modal no cards are found it...

I create the var wizard = $("#some-wizard").wizard(otions); on $(document).ready({}); what I am missing or doing bad?

xewl commented 7 years ago

Indeed, the show option doesn't work correctly. I've set it to false, and chained the wizard.show()-function instead.

chernandezosma commented 7 years ago

Even using wizard.show() fails. My code is like this

            $('#add-new-member').click(function(event) {
                var wiz = setupWizard('new-member-wizard');
                wiz.reset();
                wiz.show();
            });

And fails the second time that you load the wizard the content is blank