From 3c631c0c156024a627e44aae77d260d5253659a7 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Mon, 26 Mar 2012 16:17:03 -0400 Subject: [PATCH] Small fix to Holding Code wizard widget 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 Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/web/js/ui/default/serial/subscription/issuance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/serial/subscription/issuance.js b/Open-ILS/web/js/ui/default/serial/subscription/issuance.js index eb4fae411e..3f4dfcffa8 100644 --- a/Open-ILS/web/js/ui/default/serial/subscription/issuance.js +++ b/Open-ILS/web/js/ui/default/serial/subscription/issuance.js @@ -21,7 +21,7 @@ function fresh_scap_selector(grid) { 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); } -- 2.11.0