The issuance editor has a wizard widget for the holding code field
which expected a 'grid' as an argument, but then referenced a global
'iss_grid' variable. This hurt reusability of this widget.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
selector, "onChange", null, function() {
if (this.item) {
var widget =
- iss_grid.overrideEditWidgets.holding_type;
+ grid.overrideEditWidgets.holding_type;
widget.attr("value", this.item.type);
widget.attr("disabled", true);
}