Bugzilla – Attachment 12985 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]
Bug 7455: Authority subfields are cloned in the wrong field (follow-up 3)
Bug-7455-Authority-subfields-are-cloned-in-the-wro.patch (text/plain), 1.44 KB, created by
Jared Camins-Esakov
on 2012-10-21 14:44:23 UTC
(
hide
)
Description:
Bug 7455: Authority subfields are cloned in the wrong field (follow-up 3)
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-10-21 14:44:23 UTC
Size:
1.44 KB
patch
obsolete
>From 308344e64cfb1c16bc4018c431ee8ef1239babb4 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] Bug 7455: Authority subfields are cloned in the wrong field > (follow-up 3) > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >--- > 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 a2b304a..e604bdc 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