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.

Comments

merlinofchaos’s picture

Status: Needs review » Fixed

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)