]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1708291: improvements to egEditFmRecord
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 10 May 2017 21:36:44 +0000 (17:36 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 1 Sep 2017 16:47:05 +0000 (12:47 -0400)
commit407554e93dbe2facfaddfb641e04d927961cc9f0
treec8e523590a358741038eb251c114fd46b11f3559
parent2690328d76a972208b77ba3ad50c67fce9b436b0
LP#1708291: improvements to egEditFmRecord

egEditFmRecord now knows how to specify that a custom Angular template
be used to supply the input widget for a given field; the initial use
of this will be allowing the prediction pattern template editor to be
used to set the pattern in a pattern template. The customFieldTemplates
attribute is used for this purpose.

This patch also teaches egEditFmRecord when to allow an org unit
selector to default to the workstation OU. The orgDefaultAllowed
attribute is used for this purpose.

Finally, a fixes a bug that ensures that the Save button is active
only when the entire form is valid.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/templates/staff/share/t_fm_record_editor.tt2
Open-ILS/web/js/ui/default/staff/services/fm_record_editor.js