Lines 12-18
Link Here
|
12 |
return true; |
12 |
return true; |
13 |
} |
13 |
} |
14 |
}); |
14 |
}); |
15 |
$("#fillrandom").live('click', function() { |
15 |
$("body").on('click', "#fillrandom",function(e) { |
|
|
16 |
e.preventDefault(); |
16 |
$("#newpassword").after("<input type=\"text\" name=\"newpassword\" value=\"[% defaultnewpassword %]\">").remove(); |
17 |
$("#newpassword").after("<input type=\"text\" name=\"newpassword\" value=\"[% defaultnewpassword %]\">").remove(); |
17 |
$("#newpassword2").after("<input type=\"text\" name=\"newpassword2\" value=\"[% defaultnewpassword %]\">").remove(); |
18 |
$("#newpassword2").after("<input type=\"text\" name=\"newpassword2\" value=\"[% defaultnewpassword %]\">").remove(); |
18 |
}); |
19 |
}); |
Lines 28-34
Link Here
|
28 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% firstname %] [% surname %]</a> › [% IF ( newpassword ) %]Password Updated[% ELSE %]Change username and/or password[% END %]</div> |
29 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% firstname %] [% surname %]</a> › [% IF ( newpassword ) %]Password Updated[% ELSE %]Change username and/or password[% END %]</div> |
29 |
|
30 |
|
30 |
<div id="doc3" class="yui-t2"> |
31 |
<div id="doc3" class="yui-t2"> |
31 |
|
32 |
|
32 |
<div id="bd"> |
33 |
<div id="bd"> |
33 |
<div id="yui-main"> |
34 |
<div id="yui-main"> |
34 |
<div class="yui-b"> |
35 |
<div class="yui-b"> |
Lines 40-46
Link Here
|
40 |
[% ELSE %] |
41 |
[% ELSE %] |
41 |
|
42 |
|
42 |
<form method="post" id="changepasswordf" action="/cgi-bin/koha/members/member-password.pl"> |
43 |
<form method="post" id="changepasswordf" action="/cgi-bin/koha/members/member-password.pl"> |
43 |
<input type="hidden" name="destination" value="[% destination %]" /> |
44 |
<input type="hidden" name="destination" value="[% destination %]" /> |
44 |
<input type="hidden" name="cardnumber" value="[% cardnumber %]" /> |
45 |
<input type="hidden" name="cardnumber" value="[% cardnumber %]" /> |
45 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /> |
46 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /> |
46 |
[% IF ( errormsg ) %] |
47 |
[% IF ( errormsg ) %] |