LP1761142 Volume Copy Editor Changed Fields Hard to Discern user/abellenir/lp1761142-volcopy-editor-changed-fields-hard-to-discern
authora. bellenir <abelleni@grpl.org>
Thu, 28 Mar 2019 16:26:37 +0000 (12:26 -0400)
committera. bellenir <abelleni@grpl.org>
Thu, 28 Mar 2019 16:26:37 +0000 (12:26 -0400)
commitb799bb61098a842064abce141e13908c38bb9acd
tree9546a88ae64bd37a94d10f5e7a7a9e31d804f92c
parentbb7cfe46c3bd447aef89ac9d7dae180dc4694986
LP1761142 Volume Copy Editor Changed Fields Hard to Discern

i added a changed_fields object to the scope and update it as copies are changed.
the function field_changed(field) determines if any of the selected copies have altered the given field.
finally, a CSS class, field-changed, is applied to add a green border to fields whose values have been modified.

Signed-off-by: a. bellenir <abelleni@grpl.org>
Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js