LP#1720345: ensure egEditFmRecord's customFieldTemplates is optional user/gmcharlt/lp1720345_fm_editor_fix
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 29 Sep 2017 13:33:33 +0000 (09:33 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 29 Sep 2017 13:33:33 +0000 (09:33 -0400)
commitc429b55fb169ca1861b6a19d3f1553c0f41e3241
treef97e6bcdcb6886743f28a30c261f6273342df5ab
parentfb31c0cc5a6d67b2f989e39f38961b6d20872f8f
LP#1720345: ensure egEditFmRecord's customFieldTemplates is optional

This patch ensures that the custom-field-templates attribute of
the eg-edit-fm-record directive is strictly optional, fixing a
regression for instances of that directive that don't need that
attribute.

To test
-------
[1] Apply the patch.
[2] Verify that the Server Administration | Copy Tag Types and
    and Local Administration | Copy Tags admin interfaces
    allow you to create and edit values.
[3] Verify that the Serials Administration | Prediction
    Pattern Templates interface continues to work.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/services/fm_record_editor.js