Bug 35742: Fix removal of added user from fund
On the fund edition page, if a new user is added the "Remove" link does not remove the user. Test plan: 0. Do not apply this patch 1. Edit a fund 2. Click "Add users" 3. Search for patron and add some users => Notice that the "Remove" link does not remove the user 4. Apply this patch and repat 1, 2, 3 => Notice that the "Remove" link remove the user Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
426324062d
commit
7ef044cffd
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@
|
|||
var li = '<li id="user_' + borrowernumber + '">'
|
||||
+ '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber='
|
||||
+ borrowernumber + '">' + borrowername + '</a> '
|
||||
+ ' • <a data-borrowernumber=" + borrowernumber +" class="del_user" href="#"><i class="fa fa-trash-can"></i> '+_("Remove")+'</a> '
|
||||
+ ' • <a data-borrowernumber="' + borrowernumber + '" class="del_user" href="#"><i class="fa fa-trash-can"></i> '+_("Remove")+'</a> '
|
||||
+ '</li>';
|
||||
$("#budget_users").prepend(li);
|
||||
ids.push(borrowernumber);
|
||||
|
|
Loading…
Reference in a new issue