]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Support labelFormat for read-only AutoFieldWidget's
authorBill Erickson <berick@esilibrary.com>
Tue, 23 Aug 2011 18:22:06 +0000 (14:22 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2011 12:44:38 +0000 (08:44 -0400)
commitcb3125afa53716ae6642e5510e37a92f79f1ed53
treec64ee423f7a978d1abb88463cb9d3c3fbc3c0c24
parenta898371a6c547b35612578f063b614f5cd0709e5
Support labelFormat for read-only AutoFieldWidget's

Previously only worked with edit widgets (e.g. drop-downs).  This also
takes into account the fact that different instances of AutoFieldWidget
for the same class and value may have different labelFormat's

One user-visible result of this change is the ACQ read-only fund display
in purchase orders.  Funds will now show the code and year for funds in
the copy grid before and after the data is rendered read-only.

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