From 281f3ed8da6cfab9c24db49e2b506b0fa0b8fb88 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Fri, 22 May 2009 20:38:58 -0400 Subject: [PATCH] Bug 2266: Could not uncollapse a tag if you turn on advancedMARCeditor. Changed the tagnum into an anchor and added javascript to expand the marc fields if the number is clicked. This only worked properly when the html tag was an anchor. The tagnum property in the css file that was changed is only used in addbiblio.tmpl, eventhough additem.tmpl and authorities.tmpl also use this css file. --- koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 5 +++-- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css index 6e0a58c869..c4a1ac5a0d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css @@ -69,11 +69,12 @@ div.subfield_line label { padding : .2em 0; } -.tagnum { +a.tagnum { font-size : 110%; font-weight : bold; color : #000; padding : .1em .3em .1em 0; + text-decoration : none; } .subfield { @@ -115,4 +116,4 @@ div.subfield_line label { } #cataloguing_additem_newitem .input_marceditor { width : auto; -} \ No newline at end of file +} 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 b331d1ceb9..13969e471e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -642,7 +642,7 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ?
_">
_"> - "> + " onclick="ExpandField('tag__'); return false;"> _indicator1_" size="1" maxlength="1" value="" /> _indicator2_" size="1" maxlength="1" value="" /> -- 2.20.1