AutoFieldWidget gets new useWriteStore option
authorBill Erickson <berick@esilibrary.com>
Fri, 10 Feb 2012 15:40:17 +0000 (10:40 -0500)
committerBill Erickson <berick@esilibrary.com>
Fri, 10 Feb 2012 15:40:17 +0000 (10:40 -0500)
commit087ca2a31e2e442eab07291faff48930bfac0cde
tree2152d7f1f72c3ebc4eb7911b34ee8b0a1a9a21b1
parent9b95b2845b018b240cbeb9d1df6e58158bbcbf1d
AutoFieldWidget gets new useWriteStore option

If the useWriteStore attribute is set to true, the underlying data store
for dynamically create data will live in an ItemFileWriteStore instead
of a ReadStore, which allows the caller to modify the data after the
widget is rendered.  It's useful for in-place additions of newly created
items.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js