Bugzilla – Attachment 147974 Details for
Bug 33173
Save and continue button in standard cataloging module broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33173: Save and continue button in standard cataloging module broken
Bug-33173-Save-and-continue-button-in-standard-cat.patch (text/plain), 1.30 KB, created by
Nick Clemens (kidclamp)
on 2023-03-08 18:51:56 UTC
(
hide
)
Description:
Bug 33173: Save and continue button in standard cataloging module broken
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-03-08 18:51:56 UTC
Size:
1.30 KB
patch
obsolete
>From 68425d6997f27c40575dd548e482e721a1666d38 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 8 Mar 2023 18:49:57 +0000 >Subject: [PATCH] Bug 33173: Save and continue button in standard cataloging > module broken > >To test: >1 - Edit a record in the standard editor >2 - Click on to tab 2 >3 - Click 'Save and continue' >4 - Error: tab is not defined >5 - Apply patch >6 - Reload page and try again >7 - Fixed! >--- > .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >index 27f0754625..8dd7e58409 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -129,8 +129,7 @@ > }); > $("#saveandcontinue").click(function(){ > $(".btn-group").removeClass("open"); >- var tab = $("#addbibliotabs li.ui-tabs-active:first a").attr('href'); >- tab = tab.replace('#', ''); >+ var tab = $("#addbibliotabs div.active:first").attr('id'); > $("#current_tab").val(tab); > redirect("just_save", tab); > return false; >-- >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 33173
:
147974
|
147978
|
148035