Toykio Posted March 17, 2010 Share Posted March 17, 2010 Hi Guys,Every time i (re)load a page, the ajax cart (right column) expands nevertheless it was expanded or collapsed before, regardless the cart is empty or notThis is saved in a coockie and is working basically - if it was expanded it shows up that state, if it was collapsed, it first shows up collapsed - but then smoothly expands. (D'oh! :shut: ) ...Should not expand then, thats all...I have looked up the code the whole morning to turn that effect off but did not find any solution.Can anybody help?best regards,a desperate developer :-S Link to comment Share on other sites More sharing options...
razaro Posted March 17, 2010 Share Posted March 17, 2010 Look herehttp://www.prestashop.com/forums/viewthread/24829/general_discussion/keep_cart_collapsed__alwaysI tried it and didn't notice problem mentioned in post .Edit:I commented ajaxCart.expand(); line 487 ajax.js and it is working Link to comment Share on other sites More sharing options...
Toykio Posted March 19, 2010 Author Share Posted March 19, 2010 GREAT! That is exactly what i was looking for! I only wonder why it is not like that by default??Anyway, you made my day :-) thank you very much! 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