@@ -, +, @@
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, but sadly they clear.
"Home > Patrons > {patron name} > Duplicate Adult Patron"
click the patron name to go back.
-- tabbing nor clicking should clear any fields.
However, it deals with comment #6, which Owen
appropriately noted.
---
.../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 %]
@@ -386,7 +382,7 @@
[% contactname %]
[% ELSE %]
-
+
[% END %]
[% ELSE %]
@@ -405,7 +401,7 @@
[% contactname %]
[% ELSE %]
-
+
[% END %]
[% END %]
@@ -416,7 +412,7 @@
[% contactfirstname %]
[% ELSE %]
-
+
[% END %]
[% END %]
@@ -460,7 +456,7 @@
-
+
[% IF ( mandatorystreetnumber ) %]Required[% END %]
[% END %]
@@ -495,7 +491,7 @@
-
+
[% IF ( mandatoryaddress ) %]Required[% END %]
[% END %]
@@ -507,7 +503,7 @@
-
+
[% IF ( mandatoryaddress2 ) %]Required[% END %]
[% END %]
@@ -519,7 +515,7 @@
-
+
[% IF ( city_cgipopup ) %]or choose