Change to patron-renewal javascript to fix issues described in Bug 1620
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
7732454bf7
commit
5b0ee3f467
|
|
@ -14,7 +14,7 @@ function confirm_deletion() {
|
|||
|
||||
function confirm_reregistration() {
|
||||
var is_confirmed = window.confirm('Are you sure you want to renew this patron\'s registration?');
|
||||
var borrowernumbervalue1=document.form.borrowernumber.value;
|
||||
var borrowernumbervalue1 = $("#borrowernumber").attr("value");
|
||||
if (is_confirmed) {
|
||||
window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber='+borrowernumbervalue1+'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ function confirm_deletion() {
|
|||
|
||||
function confirm_reregistration() {
|
||||
var is_confirmed = window.confirm('Are you sure you want to renew this patron\'s registration?');
|
||||
var borrowernumbervalue1=document.form.borrowernumber.value;
|
||||
var borrowernumbervalue1 = $("#borrowernumber").attr("value");
|
||||
if (is_confirmed) {
|
||||
window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&borrowernumber='+borrowernumbervalue1+'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue