@@ -, +, @@
when setting cursor
---------
-- they will clear, which is more problematic than correcting
the entry.
"Home > Patrons > {patron name} > Duplicate Adult Patron"
click the patron name to go back.
-- the fields should remain unchanged.
"Home > Patrons > {patron name} > Duplicate Adult Patron"
click the patron name to go back.
-- tabbing nor clicking should clear any fields.
---
.../prog/en/modules/members/memberentrygen.tt | 84 ++++++++++----------
1 file changed, 40 insertions(+), 44 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -1,4 +1,3 @@
-[% IF ( opduplicate ) %][% SET focusAction = "clearDupe" %][% END %]
[% USE Koha %]
[% USE KohaDates %]
[% INCLUDE 'doc-head-open.inc' %]
@@ -26,9 +25,6 @@
document.form.state.value=RegExp.$3;
document.form.country.value=RegExp.$4;
});
- $(".clearDupe").on("focus",function(){
- $(this).val("");
- })
[% IF categorycode %]
update_category_code( "[% categorycode %]" );
@@ -269,9 +265,9 @@
[% END %]
Surname:
[% IF ( uppercasesurnames ) %]
-
+
[% ELSE %]
-
+
[% END %]
[% IF ( mandatorysurname ) %]Required[% END %]
@@ -317,7 +313,7 @@
-
+
[% IF ( mandatoryinitials ) %]Required[% END %]
[% END %]
@@ -330,7 +326,7 @@
-
+
[% IF ( mandatoryothernames ) %]Required[% END %]
[% IF ( I ) %][% END %]
@@ -379,7 +375,7 @@
[% contactname %]
[% ELSE %]
-
+
[% END %]
[% ELSE %]
@@ -398,7 +394,7 @@
[% contactname %]
[% ELSE %]
-
+
[% END %]
[% END %]
@@ -409,7 +405,7 @@
[% contactfirstname %]
[% ELSE %]
-
+
[% END %]
[% END %]
@@ -453,7 +449,7 @@
-
+
[% IF ( mandatorystreetnumber ) %]Required[% END %]
[% END %]
@@ -488,7 +484,7 @@
-
+
[% IF ( mandatoryaddress ) %]Required[% END %]
[% END %]
@@ -500,7 +496,7 @@
-
+
[% IF ( mandatoryaddress2 ) %]Required[% END %]
[% END %]
@@ -512,7 +508,7 @@
-
+
[% IF ( city_cgipopup ) %]or choose