]> git.evergreen-ils.org Git - Evergreen.git/commit
Fix integrated subscription editor record field
authorDan Wells <dbw2@calvin.edu>
Mon, 14 Oct 2013 19:24:39 +0000 (15:24 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Oct 2013 19:59:40 +0000 (15:59 -0400)
commit69416167a5da8dd3fa01187b81af771c0fde6d52
treef97c10939e28e99a6339e2d7b342bd1ff3a53504
parentd7daf48b20186aa34aba7f6c3d68aa6f5fa8f940
Fix integrated subscription editor record field

When trying to edit a subscription using the new 'integrated' editor,
it foolishly tries to populate an unfiltered bre dropdown selector.
This works OK in test environments, but (as expected) fails miserably
with production-size data sets.

The end result is that the dropdown either never populates, or takes
a really long time.  If the user saves before the dropdown loads, the
associated record ID is lost, and the subscription is no longer
properly associated with the record.

To fix this, simply turn the dropdown into a disabled text input
instead, as the ability to edit this field would generally be more
harmful than it is necessary.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/js/ui/default/serial/subscription.js