[Koha-patches] [PATCH] Bug 8431 [FOLLOW-UP] Increase the borrower attribute field size from 64 characters to 255
Owen Leonard
oleonard at myacpl.org
Fri Jul 27 15:03:43 CEST 2012
This follow-up consolidates the JavaScript for clearing the
contents of a row of patron attributes while expanding it
to include all inputs, selects, and textareas within that row.
Previously password-type fields would be excluded.
---
.../prog/en/modules/members/memberentrygen.tt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
index e160ea6..2a29fe3 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -37,8 +37,7 @@
function clear_entry(node) {
var original = node.parentNode.parentNode;
- $("textarea", original).attr('value', '');
- $("select", original).attr('value', '');
+ $("input,select,textarea", original).attr('value', '');
}
function clone_entry(node) {
--
1.7.9.5
More information about the Koha-patches
mailing list