Bugzilla – Attachment 12546 Details for
Bug 7455
Authority subfields are cloned in the wrong field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (follow-up 3)
0004-Bug-7455-Authority-subfields-are-cloned-in-the-wrong.patch (text/plain), 1.40 KB, created by
Fridolin Somers
on 2012-09-27 08:37:09 UTC
(
hide
)
Description:
Proposed patch (follow-up 3)
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-09-27 08:37:09 UTC
Size:
1.40 KB
patch
obsolete
>From 380ab01386a530918b0d77a6d56c13796a8c6522 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 27 Sep 2012 10:14:55 +0200 >Subject: [PATCH 4/4] Bug 7455: Authority subfields are cloned in the wrong > field (follow-up 3) > >--- > koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >index 09df5cd..b8e0bfe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >@@ -87,13 +87,11 @@ function CloneField(index, hideMarc, advancedMARCEditor) { > > var divs = clone.getElementsByTagName('div'); > >- if(hideMarc == '0') { >- // No indicator if hide_marc >- // setting a new name for the new indicator >- for(var i=0; i < 2; i++) { >- var indicator = clone.getElementsByTagName('input')[i]; >- indicator.setAttribute('name',indicator.getAttribute('name')+new_key); >- } >+ // if hide_marc, indicators are hidden fields >+ // setting a new name for the new indicator >+ for(var i=0; i < 2; i++) { >+ var indicator = clone.getElementsByTagName('input')[i]; >+ indicator.setAttribute('name',indicator.getAttribute('name')+new_key); > } > > // settings all subfields >-- >1.7.9.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 7455
:
7257
|
7258
|
7259
|
10884
|
11032
|
11338
|
11850
|
11866
|
11908
|
11909
|
12216
|
12313
|
12314
|
12315
|
12546
|
12827
|
12828
|
12982
|
12983
|
12984
|
12985