Bugzilla – Attachment 147978 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.37 KB, created by
ByWater Sandboxes
on 2023-03-08 19:16:45 UTC
(
hide
)
Description:
Bug 33173: Save and continue button in standard cataloging module broken
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-03-08 19:16:45 UTC
Size:
1.37 KB
patch
obsolete
>From a7d30da48ef025e3930c383040244957a12ba758 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! > >Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> >--- > .../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