From: Dan Wells Date: Mon, 26 Mar 2012 20:17:03 +0000 (-0400) Subject: Small fix to Holding Code wizard widget X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3c631c0c156024a627e44aae77d260d5253659a7;p=working%2FEvergreen.git 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 --- 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); }