joegalaxy Posted August 22, 2016 Share Posted August 22, 2016 Hi, I have a very complex product customization backend, with a thousand of input field and a lot of javascript and custom controls. I need to initialize all of them to work properly. Initialization works but produces artifacts, because it should be performed when the elements are visible, as I also use some masonry js libs fro drag and drop. Currently the js init() routine starts after a timer, because I can't predict when the prestashop js does backstage rendering of the various sections, and doesn't works otherwise. I need a stable way to know the user just clicked on my extra button to start initialization properly, or better to know when the prestashop backend js terminates the rendering of my product extra section. Couldn't find anything on the documentation. Many thanks in advance. 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