[Koha-bugs] [Bug 10769] New: Simplify clearing of input fields when duplicating a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 20 15:03:39 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10769

            Bug ID: 10769
           Summary: Simplify clearing of input fields when duplicating a
                    patron
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Currently the patron entry template has a lot of logic handling form fields
when the operation being performed is "duplicate:" 

[% IF ( opduplicate ) %]
    <input type="text" name="altcontactphone" id="altcontactphone" value="[%
altcontactphone %]" onclick="this.value=''" />
[% ELSE %]
    <input type="text" name="altcontactphone" id="altcontactphone" value="[%
altcontactphone %]" />
[% END %]

I propose to set a class on fields which require this behavior so that the
event can be handled in the script block.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list