View | Details | Raw Unified | Return to bug 16066
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/members.js (-3 / +3 lines)
Lines 95-102 function check_form_borrowers(nav){ Link Here
95
    var message_champ="";
95
    var message_champ="";
96
    if (document.form.check_member.value == 1 )
96
    if (document.form.check_member.value == 1 )
97
    {
97
    {
98
        if (document.form_double.answernodouble) {
98
        if (document.form.answernodouble) {
99
            if( (!(document.form_double.answernodouble.checked))){
99
            if( (!(document.form.answernodouble.checked))){
100
                document.form.nodouble.value=0;
100
                document.form.nodouble.value=0;
101
            } else {
101
            } else {
102
                document.form.nodouble.value=1;
102
                document.form.nodouble.value=1;
Lines 119-125 function check_form_borrowers(nav){ Link Here
119
119
120
    //patrons form to test if you checked no to the question of double
120
    //patrons form to test if you checked no to the question of double
121
    if (statut!=1 && document.form.check_member.value > 0 ) {
121
    if (statut!=1 && document.form.check_member.value > 0 ) {
122
        if (!(document.form_double.answernodouble.checked)){
122
        if (!(document.form.answernodouble.checked)){
123
            message_champ+= MSG_DUPLICATE_SUSPICION;
123
            message_champ+= MSG_DUPLICATE_SUSPICION;
124
            statut=1;
124
            statut=1;
125
            document.form.nodouble.value=0;
125
            document.form.nodouble.value=0;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-2 / +1 lines)
Lines 214-220 function select_user(borrowernumber, borrower) { Link Here
214
                    Edit existing record</button>
214
                    Edit existing record</button>
215
                </form>
215
                </form>
216
216
217
                <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off">
217
                <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off">
218
				<input type="hidden" name="nodouble" value="1" />
218
				<input type="hidden" name="nodouble" value="1" />
219
                <button type="submit" class="new"><i class="fa fa-plus"></i> Not a duplicate.
219
                <button type="submit" class="new"><i class="fa fa-plus"></i> Not a duplicate.
220
                Save as new record</button>
220
                Save as new record</button>
221
- 

Return to bug 16066