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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+1 lines)
Lines 123-128 Link Here
123
        var MSG_IN_YOUR_CART = _("Items in your cart: ");
123
        var MSG_IN_YOUR_CART = _("Items in your cart: ");
124
        var MSG_ITEM_NOT_IN_CART = _("Add to your cart");
124
        var MSG_ITEM_NOT_IN_CART = _("Add to your cart");
125
        var MSG_NO_RECORD_SELECTED = _("No item was selected");
125
        var MSG_NO_RECORD_SELECTED = _("No item was selected");
126
        var MSG_NO_SUGGESTION_SELECTED = _("No suggestion was selected");
126
    [% END %]
127
    [% END %]
127
    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) %]
128
    [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) %]
128
        var MSG_TAGS_DISABLED = _("Sorry, tags are not enabled on this system.");
129
        var MSG_TAGS_DISABLED = _("Sorry, tags are not enabled on this system.");
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-2 / +1 lines)
Lines 290-296 Link Here
290
        enableCheckboxActions();
290
        enableCheckboxActions();
291
        $("#myform").on('submit', function() {
291
        $("#myform").on('submit', function() {
292
          if ( $("input:checked").size() < 1 ) {
292
          if ( $("input:checked").size() < 1 ) {
293
            alert(MSG_NO_RECORD_SELECTED);
293
            alert(MSG_NO_SUGGESTION_SELECTED);
294
            return false;
294
            return false;
295
          }
295
          }
296
          return true;
296
          return true;
297
- 

Return to bug 11127