Closed ingridtv closed 3 years ago
I fixed a bug with the button click disable/enable issue making the buttons not work in my browser. The proper way to do this is using the event.preventDefault() method. After that it works very nicely here as well.
Everything seems to work alright in the slide and task selection pages now. Click Add button to add a slide/task and Remove to remove them. Let me know if you encounter any other bugs or anything odd!
I disable (only) the clicked button until the ajax request is processed. However, we might need to do the same with all the buttons when we put the site up on a server to avoid multiple clicking (as there might be a longer delay between the click and the request being processed).