Bugzilla – Attachment 187766 Details for
Bug 40997
Javascript error prevents saving when an instance of an 'important field is deleted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40997: Don't check elements that have been removed
Bug-40997-Dont-check-elements-that-have-been-remov.patch (text/plain), 989 bytes, created by
Nick Clemens (kidclamp)
on 2025-10-10 18:44:30 UTC
(
hide
)
Description:
Bug 40997: Don't check elements that have been removed
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-10-10 18:44:30 UTC
Size:
989 bytes
patch
obsolete
>From 13a22a005fbdd2547b646299a1969779dfdd701f Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 10 Oct 2025 18:42:03 +0000 >Subject: [PATCH] Bug 40997: Don't check elements that have been removed > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 1 + > 1 file changed, 1 insertion(+) > >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 7d75f7970cd..2735d63672e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -609,6 +609,7 @@ > > if(parseInt(arr[0]) >= 10){ > elem = document.getElementById(divid); >+ if( !elem ){ continue; } > eleminputs = elem.getElementsByTagName('input'); > > for(var j=0,len2=eleminputs.length; j<len2; j++){ >-- >2.39.5
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 40997
: 187766 |
187767