mstratman / jQuery-Smart-Wizard

flexible jQuery plug-in that gives wizard like interface
http://mstratman.github.com/jQuery-Smart-Wizard/
304 stars 164 forks source link

Jquery Choosen incompatible #4

Open brunoflmg opened 12 years ago

brunoflmg commented 12 years ago

If the wizard was set after the jquery choosen (https://github.com/harvesthq/chosen) it will cause unexpected behavior: its added a non exists step to the wizard.

Error (its will not work properly):

// mutiselection $(".chzn-select").chosen();

// wizard $('#wizard').smartWizard();

Right (this way works):

// wizard $('#wizard').smartWizard();

// mutiselection $(".chzn-select").chosen()

After two days I found this issue. I hope this note helps other peoples.