Bug 8869 - Duplicate member check doesn't disable submit button on bottom.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

I confirm that after applying this patch, the submit button is removed from
patron edit page, avoiding accidentaly clicking on it, without responding to
the question about possible duplicate patron?

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Kyle Hall 2012-10-03 10:49:13 -04:00 committed by Paul Poulain
parent 5a38631838
commit 782e1845f3

View file

@ -1443,6 +1443,7 @@
</fieldset>
[% END %] [% END %]
[% UNLESS ( check_member ) %]
<fieldset class="action">
<input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
[% IF ( opadd ) %]
@ -1451,6 +1452,7 @@
<a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Cancel</a>
[% END %]
</fieldset>
[% END %]
</form>
</div>