Bugzilla – Attachment 163197 Details for
Bug 36327
Items view - Deletion of items is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36327: Delete link is no longer a GET href
Bug-36327-Delete-link-is-no-longer-a-GET-href.patch (text/plain), 1.45 KB, created by
Pedro Amorim
on 2024-03-15 10:55:41 UTC
(
hide
)
Description:
Bug 36327: Delete link is no longer a GET href
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-03-15 10:55:41 UTC
Size:
1.45 KB
patch
obsolete
>From d4cc8ee11bca9377603d90e83597c48c10ad9e2c Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 15 Mar 2024 10:50:50 +0000 >Subject: [PATCH] Bug 36327: Delete link is no longer a GET href > >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >index 47209ec7fe5..bca93967f15 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >@@ -23,7 +23,7 @@ $(document).ready(function(){ > $(".linktools").remove(); > var edit_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&frameworkcode=' + frameworkcode + '&biblionumber=' + biblionumber + '&itemnumber=' + num_rowid + '&searchid=' + searchid + '#edititem"></a>'); > $(edit_link).text( LABEL_EDIT_ITEM ); >- var delete_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&frameworkcode=' + frameworkcode + '&biblionumber=' + biblionumber + '&itemnumber=' + num_rowid + '&searchid=' + searchid + '"></a>'); >+ var delete_link = $('<a class="delete" data-item="'+num_rowid+'" href="#"></a>'); > $(delete_link).text( LABEL_DELETE_ITEM ); > var tools_node = $('<span class="linktools"></span>'); > $(tools_node).append(edit_link); >-- >2.30.2
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 36327
:
163195
|
163196
|
163197
|
163198
|
163228
|
163229
|
163230
|
163231