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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-2 / +2 lines)
Lines 335-341 Link Here
335
                        $("#tag_hides").hide();
335
                        $("#tag_hides").hide();
336
                        $("#tagsel_form").show();
336
                        $("#tagsel_form").show();
337
                    } else {
337
                    } else {
338
                        alert(MSG_NO_RECORD_SELECTED);
338
                        alert( __("No item was selected") );
339
                    }
339
                    }
340
                }
340
                }
341
341
Lines 350-356 Link Here
350
                function tagAdded() {
350
                function tagAdded() {
351
                    var checkedBoxes = $("input:checkbox:checked");
351
                    var checkedBoxes = $("input:checkbox:checked");
352
                    if (!$(checkedBoxes).size()) {
352
                    if (!$(checkedBoxes).size()) {
353
                        alert(MSG_NO_RECORD_SELECTED);
353
                        alert( __("No item was selected") );
354
                        return false;
354
                        return false;
355
                    }
355
                    }
356
356
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-1 / +1 lines)
Lines 631-637 Link Here
631
            [% END %]
631
            [% END %]
632
632
633
            if ($(".confirmjs:checked").size() == 0) {
633
            if ($(".confirmjs:checked").size() == 0) {
634
                alert(MSG_NO_RECORD_SELECTED);
634
                alert( __("No item was selected") );
635
                return false;
635
                return false;
636
            }
636
            }
637
637
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-3 / +3 lines)
Lines 652-658 Link Here
652
                if (checkedCount > 0) {
652
                if (checkedCount > 0) {
653
                    holdBiblioNums(checkedBiblioNums);
653
                    holdBiblioNums(checkedBiblioNums);
654
                } else {
654
                } else {
655
                    alert(MSG_NO_RECORD_SELECTED);
655
                    alert( __("No item was selected") );
656
                }
656
                }
657
            }
657
            }
658
658
Lines 667-673 Link Here
667
            function tagSelected() {
667
            function tagSelected() {
668
                var checkedBoxes = $(".searchresults :checkbox:checked");
668
                var checkedBoxes = $(".searchresults :checkbox:checked");
669
                if ($(checkedBoxes).size() == 0) {
669
                if ($(checkedBoxes).size() == 0) {
670
                    alert(MSG_NO_RECORD_SELECTED);
670
                    alert( __("No item was selected") );
671
                } else {
671
                } else {
672
                    $("#tagsel_tag").hide();
672
                    $("#tagsel_tag").hide();
673
                    $(".resort").hide();
673
                    $(".resort").hide();
Lines 686-692 Link Here
686
            function tagAdded() {
686
            function tagAdded() {
687
                var checkedBoxes = $(".searchresults :checkbox:checked");
687
                var checkedBoxes = $(".searchresults :checkbox:checked");
688
                if ($(checkedBoxes).size() == 0) {
688
                if ($(checkedBoxes).size() == 0) {
689
                    alert(MSG_NO_RECORD_SELECTED);
689
                    alert( __("No item was selected") );
690
                    return false;
690
                    return false;
691
                }
691
                }
692
692
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-5 / +4 lines)
Lines 813-819 var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); Link Here
813
    function holdSelections() {
813
    function holdSelections() {
814
        var checkedBoxes = $("input:checkbox:checked");
814
        var checkedBoxes = $("input:checkbox:checked");
815
        if ($(checkedBoxes).size() == 0) {
815
        if ($(checkedBoxes).size() == 0) {
816
            alert(MSG_NO_RECORD_SELECTED);
816
            alert( __("No item was selected") );
817
        } else {
817
        } else {
818
            var bibs = "";
818
            var bibs = "";
819
            $(checkedBoxes).each(function(){
819
            $(checkedBoxes).each(function(){
Lines 831-837 var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); Link Here
831
            $(".tag_hides").hide();
831
            $(".tag_hides").hide();
832
            $("#tagsel_form").show();
832
            $("#tagsel_form").show();
833
        } else {
833
        } else {
834
            alert(MSG_NO_RECORD_SELECTED);
834
            alert( __("No item was selected") );
835
        }
835
        }
836
    }
836
    }
837
837
Lines 846-852 var MSG_CONFIRM_REMOVE_SHARE = _("Are you sure you want to remove this share?"); Link Here
846
    function tagAdded() {
846
    function tagAdded() {
847
        var checkedBoxes = $("input:checkbox:checked");
847
        var checkedBoxes = $("input:checkbox:checked");
848
        if (!$(checkedBoxes).size()) {
848
        if (!$(checkedBoxes).size()) {
849
            alert(MSG_NO_RECORD_SELECTED);
849
            alert( __("No item was selected") );
850
            return false;
850
            return false;
851
        }
851
        }
852
852
Lines 970-976 $(function() { Link Here
970
                    return confirmDelete(MSG_REMOVE_ONE_FROM_LIST);
970
                    return confirmDelete(MSG_REMOVE_ONE_FROM_LIST);
971
                }
971
                }
972
            } else {
972
            } else {
973
                alert(MSG_NO_RECORD_SELECTED);
973
                alert( __("No item was selected") );
974
                return false;
974
                return false;
975
            }
975
            }
976
        });
976
        });
977
- 

Return to bug 26719