projects
/
transitory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2a257b2
)
Small fix to Holding Code wizard widget
author
Dan Wells
<dbw2@calvin.edu>
Mon, 26 Mar 2012 20:17:03 +0000 (16:17 -0400)
committer
Dan Wells
<dbw2@calvin.edu>
Mon, 26 Mar 2012 21:10:22 +0000 (17:10 -0400)
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>
Open-ILS/web/js/ui/default/serial/subscription/issuance.js
patch
|
blob
|
history
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
eb4fae4
..
3f4dfcf
100644
(file)
--- 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);
}