diff options
author | Adam Chlipala <adam@chlipala.net> | 2013-11-14 06:16:58 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2013-11-14 06:16:58 -0500 |
commit | aa795d0463d0ef25c5fefbabb2013d2276c01327 (patch) | |
tree | 2cbf66a906d60a1b01b59375afd5ad167348af34 /lib | |
parent | 80d2a4213dbb9ef67d75e46c505c17e357e70a31 (diff) |
Fix regression in execution of 'onError' handlers
Diffstat (limited to 'lib')
-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) { } } } |