Bugzilla – Attachment 4709 Details for
Bug 6621
Javascript error in cloning subfields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
makes var buttonDotOnClick a String for IE7
bug-6621.patch (text/plain), 1.16 KB, created by
Justin @ Prosentient
on 2011-07-22 05:35:22 UTC
(
hide
)
Description:
makes var buttonDotOnClick a String for IE7
Filename:
MIME Type:
Creator:
Justin @ Prosentient
Created:
2011-07-22 05:35:22 UTC
Size:
1.16 KB
patch
obsolete
>From: Justin Unrau <Justin@koha2.local> > >--- > .../prog/en/modules/cataloguing/addbiblio.tt | 3 ++- > 1 files changed, 2 insertions(+), 1 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 0a73ace..d800d7f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt >@@ -411,7 +411,8 @@ function CloneField(index) { > if(buttonDot){ > // 2 possibilities : > try{ >- var buttonDotOnClick = buttonDot.getAttribute('onclick'); >+ //ejb2011 - IE7 needs this converted to a string >+ var buttonDotOnClick = String(link.getAttribute('onclick')); > if(buttonDotOnClick.match('Clictag')){ // -1- It s a plugin > var re = /\('.*'\)/i; > buttonDotOnClick = buttonDotOnClick.replace(re,"('"+inputs[1].getAttribute('id')+"')"); >-- >1.6.0.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 Raw
Actions:
View
Attachments on
bug 6621
: 4709