]> git.evergreen-ils.org Git - working/Evergreen.git/commit
FlattenerGrid (re)honors IDL column labels as default
authorBill Erickson <berick@esilibrary.com>
Mon, 2 Apr 2012 14:19:02 +0000 (10:19 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 2 Apr 2012 14:47:17 +0000 (10:47 -0400)
commit10fbba1ea4a8c9446abc45bfc8037a02ddb9fabe
tree63a4c0612d2d44e71410b346fefa37dcd06c60d2
parenta52131145f41fe3f19f5c4ae5ccf4cad392c1cf0
FlattenerGrid (re)honors IDL column labels as default

Linking the GridColumnPicker to FlattenerGrid killed the ability for the
FlattenerGrid to fall back to the IDL column label when no label was
defined in the markup.  This change adds a reloadStructure operation to
GridColumnPicker.  FlattenerGrid uses this to pass the updated column
labels (and any other changes) to gridcolumnpicker, which then updates
the grid display to match.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/dojo/openils/widget/FlattenerGrid.js
Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js