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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt (-3 / +2 lines)
Lines 245-255 Link Here
245
            $('.merge-patrons').on('click', function() {
245
            $('.merge-patrons').on('click', function() {
246
                var checkedItems = $("input:checked");
246
                var checkedItems = $("input:checked");
247
                if ($(checkedItems).length < 2) {
247
                if ($(checkedItems).length < 2) {
248
                    alert(_("You must select one or more patrons to remove"));
248
                    alert(_("You must select two or more patrons to merge"));
249
                    return false;
249
                    return false;
250
                }
250
                }
251
                $(checkedItems).parents('tr').addClass("warn");
251
                $(checkedItems).parents('tr').addClass("warn");
252
                if (confirm(_("Are you sure you want to remove the selected patrons?"))) {
252
                if (confirm(_("Are you sure you want to merge the selected patrons?"))) {
253
                    var merge_patrons_url = '/cgi-bin/koha/members/merge-patrons.pl?' +
253
                    var merge_patrons_url = '/cgi-bin/koha/members/merge-patrons.pl?' +
254
                        $('.selection:checked')
254
                        $('.selection:checked')
255
                        .map(function() {
255
                        .map(function() {
256
- 

Return to bug 21113