diff options
author | 2013-11-14 06:16:58 -0500 | |
---|---|---|
committer | 2013-11-14 06:16:58 -0500 | |
commit | df47cd4555a0f537486120e4b3c73c0a3620fa4e (patch) | |
tree | 2cbf66a906d60a1b01b59375afd5ad167348af34 /lib/js/urweb.js | |
parent | e56c0924b7c238acc2eebeb48a1f9ee410a645f4 (diff) |
Fix regression in execution of 'onError' handlers
Diffstat (limited to 'lib/js/urweb.js')
-rw-r--r-- | lib/js/urweb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index f56ba4c6..6315567e 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -376,7 +376,7 @@ function runHandlers(kind, ls, arg) { alert(kind + ": " + arg); for (; ls; ls = ls.next) try { - exec({c:"a", f:{c:"a", f:ls.data, x:{c:"c", v:arg}}, x:{c:"c", v:null}}); + exec({c:"a", f:{c:"a", f:{c:"c", v:ls.data}, x:{c:"c", v:arg}}, x:{c:"c", v:null}}); } catch (v) { } } } |