Bugzilla – Attachment 67152 Details for
Bug 17981
Add the ability to preview generated notice templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17981: Remove uneeded module JS var
Bug-17981-Remove-uneeded-module-JS-var.patch (text/plain), 1.97 KB, created by
Jonathan Druart
on 2017-09-15 15:51:18 UTC
(
hide
)
Description:
Bug 17981: Remove uneeded module JS var
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-09-15 15:51:18 UTC
Size:
1.97 KB
patch
obsolete
>From b9c4af0d497c6444fa3126397939f64aef5fa8d2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 15 Sep 2017 12:50:32 -0300 >Subject: [PATCH] Bug 17981: Remove uneeded module JS var > >As we only support CHECKIN and CHECKOUT for now, we do not need this >module variable. It may be useful to re-add it later. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >index 951e24a58d..46252d5eed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt >@@ -142,7 +142,7 @@ $(document).ready(function() { > page += '&is_html='+encodeURIComponent(is_html); > $("#preview_template .modal-body").load(page); > $('#preview_template').modal('show'); >- $("#preview_template_button").attr("href", "/cgi-bin/koha/svc/letters/convert?module="+module+"&code="+code+"&mtt="+mtt+"&lang="+lang); >+ $("#preview_template_button").attr("href", "/cgi-bin/koha/svc/letters/convert?code="+code+"&mtt="+mtt+"&lang="+lang); > }); > $("#preview_template").on("hidden", function(){ > $("#preview_template_label").html(""); >@@ -167,7 +167,7 @@ $(document).ready(function() { > page += '&is_html='+encodeURIComponent(is_html); > $("#preview_template .modal-body").load(page + " div"); > $('#preview_template').modal('show'); >- $("#preview_template_button").attr("href", "/cgi-bin/koha/svc/letters/convert?module="+module+"&code="+code+"&branchcode="+branchcode+"&mtt="+mtt+"&lang="+lang); >+ $("#preview_template_button").attr("href", "/cgi-bin/koha/svc/letters/convert?code="+code+"&branchcode="+branchcode+"&mtt="+mtt+"&lang="+lang); > }); > $("#convert_template").on("hidden", function(){ > $("#convert_template_label").html(""); >-- >2.11.0
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 17981
:
59508
|
59509
|
59510
|
59514
|
59524
|
63978
|
63979
|
63980
|
63981
|
63982
|
65688
|
65689
|
65690
|
65701
|
65702
|
65703
|
65704
|
65705
|
67144
|
67145
|
67146
|
67147
|
67148
|
67152
|
70300
|
70301
|
70302
|
70303
|
70304
|
70305
|
73201
|
73202
|
73203
|
73204
|
73205
|
73206
|
73949
|
73950
|
73951
|
73952
|
74025
|
74027
|
74028
|
74029
|
74030
|
74031
|
74032
|
74033
|
74034