Bugzilla – Attachment 75777 Details for
Bug 20778
Unable to delete a subscription
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20778: (bug 19777 follow-up) Fix subscription deletion
Bug-20778-bug-19777-follow-up-Fix-subscription-del.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2018-06-04 15:16:10 UTC
(
hide
)
Description:
Bug 20778: (bug 19777 follow-up) Fix subscription deletion
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-06-04 15:16:10 UTC
Size:
1.33 KB
patch
obsolete
>From 7f7a1d71fb550a45e08dbfe0d29e5f49015c64a7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 4 Jun 2018 12:14:10 -0300 >Subject: [PATCH] Bug 20778: (bug 19777 follow-up) Fix subscription deletion > >Caused by > commit 666a1b276097785c2a7c33e718f26f5512b3d972 > Bug 19777: Move template JavaScript to the footer: Serials, part 3 > >TT vars should not be used in .js files > >Test plan: >Delete a subscription, confirm you see the confirmation popup and that >the it deletes the subscription correctly after it has been confirmed. >--- > koha-tmpl/intranet-tmpl/prog/js/serials-toolbar.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/serials-toolbar.js b/koha-tmpl/intranet-tmpl/prog/js/serials-toolbar.js >index 8ef2db932f..1f181c2332 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/serials-toolbar.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/serials-toolbar.js >@@ -16,7 +16,7 @@ function confirm_reopen() { > function confirm_deletion() { > var is_confirmed = confirm( CONFIRM_DELETE_SUBSCRIPTION ); > if (is_confirmed) { >- window.location="subscription-detail.pl?subscriptionid=[% subscriptionid %]&op=del"; >+ window.location="subscription-detail.pl?subscriptionid=" + subscriptionid + "&op=del"; > } > } > function popup(subscriptionid) { >-- >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 20778
:
75429
|
75505
|
75777
|
75778
|
75793