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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (-2 / +6 lines)
Lines 231-237 Link Here
231
        };
231
        };
232
232
233
        function add_user(borrowernumber) {
233
        function add_user(borrowernumber) {
234
            $("#bor_num_list").val($("#bor_num_list").val()+borrowernumber+"\r\n");
234
            var list = $("#bor_num_list").val();
235
            if (list.indexOf(borrowernumber) == -1) {
236
                $("#bor_num_list").val(list+borrowernumber+"\r\n");
237
            } else {
238
                return -1;
239
            }
235
        }
240
        }
236
241
237
        function DeDuplicate() {
242
        function DeDuplicate() {
238
- 

Return to bug 37863