Closed grrowl closed 10 years ago
Hey Tom,
I just did a total refactor of $.UIDeletable. Now it appears to be working properly with multiple lists in different articles. In the initialization of a deletable list I'm passing in a reference to the button and the list so that lists are directly link to their article-specific edit button. This also solves the issue where a callback was getting used by all the list. Please check out commit b39e3fd3cb and let me know if this covers all your issues. Thanks for the help in unravelling this.
You legend, will take a look later in the week. Cheers
As long as other parts of ChUI aren't binding to the "edit" and "done" buttons, this is a proper fix.
Sloppy contributing on my part before, this is a snippet from our tested codebase.