alano3city Posted September 10, 2015 Share Posted September 10, 2015 Hi, Presta uses jquery.uniform to render styled dropdowns, it works everywhere, almost, because when you go to order history, expand it, details fade out, and on the bottom, the select with message textarea is not rendered as uniform one.It's because the details are loaded via ajax request. The thing is what to modify to let this select render correct.Can you help me out ?Thank you. Link to comment Share on other sites More sharing options...
alano3city Posted September 11, 2015 Author Share Posted September 11, 2015 Ok guys. I found the solution by myself. You have to go to: history.js which is located in themes/your-theme/js folder There in the beginning is a function showOrder which is launched when you click and fade out the order details in your order history account. You have to add in history.js a code which reloads the select dynamically. I added this right after: $('.footab').footable(); and the code was: $('#myid').selectivity(); Now select is styled! I am using selectivity.js for dropdowns because this uniform.js is so heavy! i recommend everyone to get rid of it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now