Bugzilla – Attachment 4332 Details for
Bug 6444
Encoding problems with vendor names in subscription-add.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects encoding problems in subscription-add.pl
0001-Corrects-encoding-problems-in-subscription-add.pl.patch (text/plain), 1.58 KB, created by
Frédérick Capovilla
on 2011-06-01 18:47:57 UTC
(
hide
)
Description:
Corrects encoding problems in subscription-add.pl
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-06-01 18:47:57 UTC
Size:
1.58 KB
patch
obsolete
>From 5fc1039d6b3752c05ec8cfb61f8674fece06d2f3 Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >Date: Wed, 1 Jun 2011 14:33:28 -0400 >Subject: [PATCH] Corrects encoding problems in subscription-add.pl > >When searching for a vendor, if the vendor has accented character in its >name, the vendor's name that's added in the form of subscription-add.pl >is encoded incorrectly. >--- > .../en/modules/serials/acqui-search-result.tmpl | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tmpl >index f5a1577..689d307 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tmpl >@@ -6,7 +6,7 @@ > function GetIt(aqbooksellerid,name) > { > opener.document.f.aqbooksellerid.value = aqbooksellerid; >- opener.document.f.aqbooksellername.value = unescape(name); >+ opener.document.f.aqbooksellername.value = name; > window.close(); > } > </script> >@@ -33,7 +33,7 @@ function GetIt(aqbooksellerid,name) > <tr> > <!-- /TMPL_UNLESS --> > <td><!-- TMPL_VAR name="name" --></td> >- <td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,'<!-- TMPL_VAR escape="URL" NAME="name" -->')">Choose</a></td> >+ <td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,$(this).parent().prev().text())">Choose</a></td> > </tr> > <!-- /TMPL_LOOP --> > </table> >-- >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 6444
:
4332
|
4333
|
4334