Bugzilla – Attachment 5992 Details for
Bug 7069
Javascript errors in tags/review
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix
0001-Put-strings-in-instead-of-to-fix-the-javascrip.patch (text/plain), 1.74 KB, created by
Maxime Pelletier
on 2011-10-19 19:32:01 UTC
(
hide
)
Description:
patch to fix
Filename:
MIME Type:
Creator:
Maxime Pelletier
Created:
2011-10-19 19:32:01 UTC
Size:
1.74 KB
patch
obsolete
>From faef13de3e658d9d3b485963473701a8634b5183 Mon Sep 17 00:00:00 2001 >From: Maxime Pelletier <maxime.pelletier@libeo.com> >Date: Wed, 19 Oct 2011 15:28:16 -0400 >Subject: [PATCH] Put strings in "" instead of '' to fix the javascript not working when the translated string has a ' in it. > >--- > .../intranet-tmpl/prog/en/modules/tags/review.tt | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >index 5dfe91a..5d025af 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt >@@ -51,22 +51,22 @@ td input,td input[type="submit"] { font-size: 85%; padding: 1px; } > // window.alert(_('AJAX approved tag: ') + tag); > }; > var failure_approve = function(tag){ >- window.alert(_('AJAX failed to approve tag: ') + tag); >+ window.alert(_("AJAX failed to approve tag: ") + tag); > }; > var success_reject = function(tag){ > // window.alert(_('AJAX rejected tag: ') + tag); > }; > var failure_reject = function(tag){ >- window.alert(_('AJAX failed to reject tag: ') + tag); >+ window.alert(_("AJAX failed to reject tag: ") + tag); > }; > var success_test = function(tag){ >- $('#verdict').html(tag + _(' is permitted!')); >+ $('#verdict').html(tag + _(" is permitted!")); > }; > var failure_test = function(tag){ >- $('#verdict').html(tag + _(' is prohibited!')); >+ $('#verdict').html(tag + _(" is prohibited!")); > }; > var indeterminate_test = function(tag){ >- $('#verdict').html(tag + _(' is neither permitted nor prohibited!')); >+ $('#verdict').html(tag + _(" is neither permitted nor prohibited!")); > }; > > var success_test_call = function() { >-- >1.5.6.5 >
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 7069
:
5992
|
6000
|
6021