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 108-113 Link Here
108
    //<![CDATA[
108
    //<![CDATA[
109
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
109
    var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again")
110
    var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?");
110
    var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?");
111
    var MSG_NO_SUGGESTION_SELECTED = _("No suggestion was selected");
111
    [% IF Koha.Preference( 'opacbookbag' ) == 1 or Koha.Preference( 'virtualshelves' ) == 1 %]
112
    [% IF Koha.Preference( 'opacbookbag' ) == 1 or Koha.Preference( 'virtualshelves' ) == 1 %]
112
        var MSG_BASKET_EMPTY = _("Your cart is currently empty");
113
        var MSG_BASKET_EMPTY = _("Your cart is currently empty");
113
        var MSG_RECORD_IN_BASKET = _("The item is already in your cart");
114
        var MSG_RECORD_IN_BASKET = _("The item is already in your cart");
(-)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