Open sergeykaikin opened 10 years ago
I will check that out!
+1 to this. I've run into issues with this several times and tracked it down to jquery-steps after some painful tracing through jQuery.
+1.
In my case the destroy method completely removes the original element when using jQuery UI Dialog + jQuery Steps on the same element.
My work-around was to nest a div inside the dialog and use steps on that element.
When $(wizardElement).steps("destroy") is being called it calls wizard.remove() method which removes all child elements data (http://api.jquery.com/jquery.data/). So if you are using some other jQuery plugins which use jQuery data (say, Tooltipster (https://github.com/iamceege/tooltipster/issues)) inside your wizard it will break their functionality. Work-around could be - destroy elements in the right order - start from child elements. But anyway it is a little bit frustrating.