LP#1677416: unbreak use of egOrgSelector by egEditFmRecord user/csharp/lp1677416_egEditFmRecord_org_selector
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 30 Mar 2017 21:03:07 +0000 (17:03 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 31 Mar 2017 18:27:46 +0000 (14:27 -0400)
commitf0e9594d002007f1ac6b0da891b0a37360a35fea
tree5e980717b6577afd457dd1a83392b0c4d5b2c31b
parentc85e457b777b82b62c3e9f1c5ca2fd7eb9a73bcd
LP#1677416: unbreak use of egOrgSelector by egEditFmRecord

This patch fixes a regression where attempting to change
the value of an egOrgSelector embedded in an egEditFmRecord
would result in errors like this:

Error: [$compile:nonassign] http://errors.angularjs.org/1.5.11/$compile/nonassign?p0=rec_orgs%5Bfield.name%5D()&p1=selected&p2=egOrgSelector

To test
-------
[1] Open the MARC Tag Tables admin interface in the web
    staff client and edit an existing entry. Note that
    changing the selected OU will result in there being
    no change and error messages appearing in the browser
    JavaScript console.
[2] Apply the patch and repeat step 1.
[3] Verify that no errors are logged.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/templates/staff/share/t_fm_record_editor.tt2
Open-ILS/web/js/ui/default/staff/services/fm_record_editor.js