From e2b8e6b54b0369a006c59ac7da58981d5249571b Mon Sep 17 00:00:00 2001 From: Christophe Croullebois Date: Tue, 10 Mar 2015 10:29:15 +0100 Subject: [PATCH 1/1] Bug 13768: Correction of double quotes escaped into double quotes Without the patch the translated pages for quotes.tt may have the problematic line broken. So the js is broken too. The line with bad usage of double quotes escaped : var sEmptyTable = _("No quotes available. Please use the \"Add quote\" button to add a quote."); --- .../intranet-tmpl/prog/en/modules/tools/quotes.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt index 25aceaa..8ae34ec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt @@ -11,7 +11,7 @@ var MSG_ID_HELP = _("Click on the quote's id to select or deselect the quote. Multiple quotes may be selected."); var oTable; /* oTable needs to be global */ - var sEmptyTable = _("No quotes available. Please use the \"Add quote\" button to add a quote."); /* override the default message in datatables-strings.inc */ + var sEmptyTable = _("No quotes available. Please use the 'Add quote' button to add a quote."); /* override the default message in datatables-strings.inc */ $(document).ready(function() { /* NOTE: This is an ajax-source datatable and *not* a server-side sourced datatable. */ /* See the datatable docs if you don't understand this difference. */ -- 1.7.9.5