Bugzilla – Attachment 170044 Details for
Bug 37536
Cataloging add item js needs to update conditional that checks op
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37536: Update conditional to check for 'cud-saveitem'
Bug-37536-Update-conditional-to-check-for-cud-save.patch (text/plain), 1.38 KB, created by
Victor Grousset/tuxayo
on 2024-08-03 23:12:31 UTC
(
hide
)
Description:
Bug 37536: Update conditional to check for 'cud-saveitem'
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-08-03 23:12:31 UTC
Size:
1.38 KB
patch
obsolete
>From e67afd9a6cd6f42d485656085ddeb209b6af5853 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Wed, 31 Jul 2024 13:46:22 +0000 >Subject: [PATCH] Bug 37536: Update conditional to check for 'cud-saveitem' > >In additem.pl and additem.tt all instances of 'saveitem' have been updated to 'cud-save-item' >The javascript needs to be updated in the same way. > >Test plan: >1. Same as test plan from Bug 22669. Same symptom. > >QA notes: >1. git grep 'saveitem' >2. Notice all instances in additem.pl and additem.tt have been updated to 'cud-saveitem' >3. Notice cataloging_additem.js checks if op != 'saveitem' >4. Check the files and verify the change makes sense > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > 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 06fc9137e5..c8a2189b83 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js >@@ -9,7 +9,7 @@ $(document).ready(function(){ > // otherwise the deletion confirmation will not work correctly > $('a[href*="biblionumber="]').off('click'); > >- if( popup && op != 'saveitem' ){ >+ if( popup && op != 'cud-saveitem' ){ > window.close(); > } > >-- >2.46.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 37536
:
169890
|
170044
|
170220
|
170221