From 6f66396ff97b3a48d8fd8c1d53336b33185039cb Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 27 May 2009 21:48:12 -0400 Subject: [PATCH] Bug 2266: Could not uncollapse a tag if you turn on advancedMARCeditor - Revised. Added javascript and if/else logic to the addbiblio.tmpl and a corresponding anchor tag in CSS. If advancedMARCeditor is on, the user now clicks on the tag number to expand the marc fields. If advancedMARCeditor is off, no functionality has changed. The user clicks on the marc tag's title to expand the marc fields. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css | 8 ++++++++ .../prog/en/modules/cataloguing/addbiblio.tmpl | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css index 25135ac6f5..b3904eeec7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css @@ -76,6 +76,14 @@ div.subfield_line label { padding : .1em .3em .1em 0; } +a.tagnum { + font-size : 110%; + font-weight : bold; + color : #000; + padding : .1em .3em .1em 0; + text-decoration : none; +} + .subfield { color : #00698a; float: left; 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 0a3c92fee1..8da32040c2 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,11 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ?
_">
_"> - "> + + - Click to Expand this Tag" onclick="ExpandField('tag__'); return false;"> + + "> + _indicator1_" size="1" maxlength="1" value="" /> _indicator2_" size="1" maxlength="1" value="" /> -- 2.39.5