[Koha-patches] [PATCH] Bug Fix : Blocker 2017

Henri-Damien LAURENT henridamien at koha-fr.org
Thu Apr 17 10:04:17 CEST 2008


disabled values are not passed to CGI.
So that if you disable entry, values and subfield codes are mixed up.
I changed disabled=tru to readonly and it fixes the bug.
---
 cataloguing/addbiblio.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl
index cd6f1e1..25a3ae7 100755
--- a/cataloguing/addbiblio.pl
+++ b/cataloguing/addbiblio.pl
@@ -366,7 +366,7 @@ sub create_input {
                     tabindex=\"1\"
                     size=\"67\"
                     maxlength=\"255\" 
-                    disabled=\"true\"
+                    readonly=\"true\"
                     \/>
                     <a href=\"#\" class=\"buttonDot\"
                         onclick=\"Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&amp;index=$subfield_data{id}','$subfield_data{id}'); return false;\" title=\"Tag Editor\">...</a>
-- 
1.5.3.2




More information about the Koha-patches mailing list