# HG changeset patch # User Adam Chlipala # Date 1384427818 18000 # Node ID c40ed80be943d4b362f047e58453d040d5705f77 # Parent 5f478ecf65e4b5d4dd33b6a316edc883aa401097 Fix regression in execution of 'onError' handlers diff -r 5f478ecf65e4 -r c40ed80be943 lib/js/urweb.js --- a/lib/js/urweb.js Tue Nov 05 11:58:52 2013 -0500 +++ b/lib/js/urweb.js Thu Nov 14 06:16:58 2013 -0500 @@ -376,7 +376,7 @@ 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) { } } }