Bugzilla – Attachment 3120 Details for
Bug 5735
Expanding/collapsing cloned fields in editor takes original field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
patch.txt (text/plain), 1.99 KB, created by
Marcel de Rooy
on 2011-02-10 10:44:07 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2011-02-10 10:44:07 UTC
Size:
1.99 KB
patch
obsolete
>From ee63f1610bae02e94655cfbe78f7fe8b3fa9ecd3 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 10 Feb 2011 11:33:21 +0100 >Subject: [PATCH] Bug 5735: Expanding/collapsing cloned fields in editor takes original field >Content-Type: text/plain; charset="utf-8" > >Adds corrected onclick response for expanding marc tags. >Removes some lines that did not work as promised. >--- > .../prog/en/modules/cataloguing/addbiblio.tmpl | 11 ++--------- > 1 files changed, 2 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl >index b33f897..a588a2b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl >@@ -436,21 +436,14 @@ function CloneField(index) { > anchors[j].setAttribute('onclick',"CloneField('" + new_id + "')"); > } else if (anchors[j].getAttribute('class') == 'buttonMinus') { > anchors[j].setAttribute('onclick',"UnCloneField('" + new_id + "')"); >+ } else if (anchors[j].getAttribute('class') == 'expandfield') { >+ anchors[j].setAttribute('onclick',"ExpandField('" + new_id + "')"); > } > } > } > catch(e){ > // do nothig CloneButtonPlus doesn't exist. > } >- // setting its 'Expand' property >- var ExpandFieldA=0; >- try { >- ExpandFieldA = divs[i].getElementsByTagName('a')[0]; >- ExpandFieldA.setAttribute('onclick',"ExpandField('" + divs[i].parentNode.getAttribute('id') + "')"); >- } >- catch(e){ >- // do nothig if ButtonPlus & CloneButtonPlus don t exist. >- } > > } > } >-- >1.6.0.6 >
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 5735
: 3120