[Koha-bugs] [Bug 6695] Layout of patron category add/edit form slightly broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 10 17:25:05 CEST 2011


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

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> 2011-08-10 15:25:05 UTC ---
Created attachment 4944
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4944
Revised fix

The markup for the fields for enrollment period "in months" and "until date"
was non-standard I think because the two fields are supposed to be visually
and functionally linked (having the same purpose and being mutually
exclusive).

This patch changes the markup so that the two fields share a fieldset
having "choose one" as the legend. The "hint" is now hidden unless
it is triggered by the javascript validation on submit.

I wanted to trigger the validation of the two fields onblur instead
of just onsubmit, but found that the datepicker widget doesn't
consistently trigger a change or a blur event on that field.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list