Bug 33457: (follow-up) Simplify even further
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit cd18b2e6fc
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
26c27bd65d
commit
17c3b15c2e
1 changed files with 1 additions and 4 deletions
|
@ -559,11 +559,8 @@
|
|||
|
||||
function select_user(borrowernumber, borrower) {
|
||||
ownerRemove();
|
||||
var borrowername = $patron_to_html( borrower, { display_cardnumber: false, url: false } );
|
||||
if (borrowernumber) {
|
||||
var ownerlink = '<a href="/cgi-bin/koha/members/moremember.pl'
|
||||
+ '?borrowernumber=' + borrowernumber + '">'
|
||||
+ borrowername + '</a>';
|
||||
var ownerlink = $patron_to_html( borrower, { display_cardnumber: false, url: true } );
|
||||
$('#budget_owner_name').html(ownerlink);
|
||||
$('#budget_owner_id').val(borrowernumber);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue