Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Commit a9ce248

Browse files
committed
Fix a typo and variable scope overlapping.
The fix was contributed by Pedro Algarvio (s0undt3ch) at meineerde#2 git-svn-id: http://dev.holgerjust.de/svn/redmine-checkout/trunk@203 2c10314b-d60d-4f8f-b362-a6b3e82123ed
1 parent 86485e0 commit a9ce248

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

assets/javascripts/checkout.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ document.observe("dom:loaded", function() {
88
});
99
this.addClassName("selected")
1010

11-
var checkout_access = $('checkout_access');
12-
if (checkout_access) {
13-
var value = checkout_access.get(this.id);
14-
checkout_acces.innerHTML = value;
11+
var access = $('checkout_access');
12+
if (access) {
13+
var value = window.checkout_access.get(this.id);
14+
access.innerHTML = value;
1515
}
1616

1717
event.stop();

0 commit comments

Comments
 (0)