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 213-219 function select_user(borrowernumber, borrower) { Link Here
213
                    <input class="edit" type="submit" value="It is a duplicate. Edit existing record" />
213
                    <input class="edit" type="submit" value="It is a duplicate. Edit existing record" />
214
                </form>
214
                </form>
215
215
216
                <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off">
216
                <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off">
217
				<input type="hidden" name="nodouble" value="1" />
217
				<input type="hidden" name="nodouble" value="1" />
218
				<input class="new" type="submit" value="Not a duplicate. Save as new record" />
218
				<input class="new" type="submit" value="Not a duplicate. Save as new record" />
219
			</div>
219
			</div>
220
- 

Return to bug 16066