Bugzilla – Attachment 26307 Details for
Bug 11127
OPAC suggestion: the delete link is active when no suggestion selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 11127: Define a specific message for suggestion
SIGNED-OFF-Bug-11127-Define-a-specific-message-for.patch (text/plain), 1.90 KB, created by
Martin Renvoize (ashimema)
on 2014-03-13 15:17:48 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 11127: Define a specific message for suggestion
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2014-03-13 15:17:48 UTC
Size:
1.90 KB
patch
obsolete
>From cc94f0eec4b5d4a638a8f9b610328bf137e3996c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 11 Mar 2014 12:07:13 +0100 >Subject: [PATCH] [SIGNED OFF] Bug 11127: Define a specific message for > suggestion > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index 8bb4ccd..7e55007 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -108,6 +108,7 @@ > //<![CDATA[ > var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again") > var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?"); >+ var MSG_NO_SUGGESTION_SELECTED = _("No suggestion was selected"); > [% IF Koha.Preference( 'opacbookbag' ) == 1 or Koha.Preference( 'virtualshelves' ) == 1 %] > var MSG_BASKET_EMPTY = _("Your cart is currently empty"); > var MSG_RECORD_IN_BASKET = _("The item is already in your cart"); >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index ff495cf..573cd37 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -290,7 +290,7 @@ > enableCheckboxActions(); > $("#myform").on('submit', function() { > if ( $("input:checked").size() < 1 ) { >- alert(MSG_NO_RECORD_SELECTED); >+ alert(MSG_NO_SUGGESTION_SELECTED); > return false; > } > return true; >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11127
:
22349
|
25818
|
25823
|
26073
|
26120
|
26168
|
26307
|
26308
|
26309