VinceG / twitter-bootstrap-wizard

This twitter bootstrap plugin builds a wizard out of a formatter tabbable structure. It allows to build a wizard functionality using buttons to go through the different wizard steps and using events allows to hook into each step individually.
MIT License
1.39k stars 676 forks source link

Not trigger event 'shown' #89

Closed zygfrydos closed 8 years ago

zygfrydos commented 10 years ago

First click on button next/prev/first/last disabled this button. On source code is no triggered 'shown'

VinceG commented 10 years ago

@zygfrydos can you explain a little better? or try with latest master?

schmitch commented 10 years ago

currently i think the means onTabShow() it will only get triggered once. so if i need an handler for onNext and onTabClick i need to have a function in both of them instead of just onTabShow.

Edit: oh and a fun fact, the compressed version works.

patricklehmann commented 10 years ago

same issue in here. for me the compressed version doesnt work as well..

EDIT: In bower.json this works for me "twitter-bootstrap-wizard": "https://github.com/VinceG/twitter-bootstrap-wizard.git#1.2",

roblabla commented 10 years ago

It seems "bootstrap-wizard" on bower repos is outdated. It doesn't use shown.bs.tab event, thus never rebinding the "next" button.

VinceG commented 10 years ago

@roblabla please use master. refer to #81 for my comment.

roblabla commented 10 years ago

You might want to update your readme with a notice to use master ^^. Great work BTW, the module works flawlessly now.

VinceG commented 10 years ago

@roblabla thank you. will add that now.