Currently the Javascript adds new fields each time when new title is added, and each of that field has delete button:
<img width="16" height="16" id="title-delete" title="Remove this title" alt="Remove this title" src="/sites/all/modules/user_titles/delete.gif"/>
so it has id="title-delete" which is repeated with each delete button. The patch changes it to class="title-delete", and the jquery's [css] selectors are changed to $("img#user-titles-settings.title-delete") to make them unique for the page. But this change might be extra which you had not like to commit.
| Comment | File | Size | Author |
|---|---|---|---|
| user_titles5-bug_unique_tag_ID_attr.patch | 2.37 KB | Gurpartap Singh |
Comments
Comment #1
merlinofchaos commentedThanks!
Comment #2
(not verified) commented