From 24333973857e1eabb97c7985d441a31106746409 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 Signed-off-by: Henri-Damien LAURENT --- 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 6e0a58c869..54a4a5c112 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