From 0a2be5e29b72d91c49dacc85a5c119128a1c93a8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 9 Mar 2009 08:38:06 -0500 Subject: [PATCH] Changes to tabindex values to improve keyboard access. Signed-off-by: Galen Charlton --- cataloguing/addbiblio.pl | 6 +++--- .../prog/en/modules/cataloguing/addbiblio.tmpl | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index c687e22f59..02c2c396af 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -382,7 +382,7 @@ sub create_input { maxlength=\"$max_length\" \/> {$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}','$subfield_data{id}'); return false;\" title=\"Tag Editor\">... + onclick=\"Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}','$subfield_data{id}'); return false;\" tabindex=\"1\" title=\"Tag Editor\">... "; } else { $subfield_data{marc_value} = @@ -396,7 +396,7 @@ sub create_input { maxlength=\"$max_length\" readonly=\"readonly\" \/>{$tag}->{$subfield}->{authtypecode}."'); return false;\" title=\"Tag Editor\">... + onclick=\"openAuth(this.parentNode.getElementsByTagName('input')[1].id,'".$tagslib->{$tag}->{$subfield}->{authtypecode}."'); return false;\" tabindex=\"1\" title=\"Tag Editor\">... "; } # it's a plugin field @@ -426,7 +426,7 @@ sub create_input { size=\"67\" maxlength=\"$max_length\" onblur=\"Blur$function_name($index_tag); \" \/> - ... + ... $javascript"; } else { warn "Plugin Failed: $plugin"; 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 a0851c87d6..a3ece208b8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -661,13 +661,13 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ? - _'); return false;" title="Click to Expand this Tag"> + _'); return false;" title="Click to Expand this Tag"> - _'); return false;" title="Repeat this Tag">+ + _'); return false;" title="Repeat this Tag">+ - _'); return false;" title="Delete this Tag">− + _'); return false;" title="Delete this Tag">− @@ -686,7 +686,7 @@ function unHideSubfield(index,labelindex) { // FIXME :: is it used ? /../img/up.png" onclick="upSubfield('subfield')" alt="Move Up" title="Move Up" /> - display:none; border:0;" type="text" name="tag__code___" value="" size="1" maxlength="1" class="flat" tabindex="0" /> + display:none; border:0;" type="text" tabindex="0" name="tag__code___" value="" size="1" maxlength="1" class="flat" tabindex="0" /> " /> -- 2.39.5