You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
value: function finish() {
if (this._current === this.lastIndex()) {
var current = this.current();
if (current.validate()) {
current.leave('error');
current.enter('done');
this.trigger('finish');<<--- put it here after done , so we are sure the CSS does note change after the finish is triggerd.
} else {
current.enter('error');
}
}
#here i put my reset on finish event, but always had the green of done on a tab element..
$('#exampleWizardForm').on('wizard::finish', function (e) {
resetmyWizardry();
});
Checklist
I'm using version* jQuery wizard v0.4.3
My browser is: Mac, Chrome
I am sure this issue is not a duplicate? Yes
Description
[Description of the bug, enhancement, or question]
Problem, finish event is triggered before css changes..
[Please tag accordingly]
How can we reproduce this bug?
[First Step] put an alertbox, and you will get the alert before the css has changed.
[Second Step]
[and so on...]
What did you expect to happen?
i wanted to reset the wizard and have all the tabs, be the same color,
but when i did reset i stil had the finish tab color load after my finish event,
What happened instead?
finish -> did a reset, and i still see last tab in green.
The text was updated successfully, but these errors were encountered:
value: function finish() {
if (this._current === this.lastIndex()) {
var current = this.current();
#here i put my reset on finish event, but always had the green of done on a tab element..
Checklist
Description
[Description of the bug, enhancement, or question]
Problem, finish event is triggered before css changes..
[Please tag accordingly]
How can we reproduce this bug?
What did you expect to happen?
i wanted to reset the wizard and have all the tabs, be the same color,
but when i did reset i stil had the finish tab color load after my finish event,
What happened instead?
finish -> did a reset, and i still see last tab in green.
The text was updated successfully, but these errors were encountered: