Mercurial > urweb
diff lib/js/urweb.js @ 1889:c40ed80be943
Fix regression in execution of 'onError' handlers
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 14 Nov 2013 06:16:58 -0500 |
parents | e15234fbb163 |
children | abb0e95dcaa1 |
line wrap: on
line diff
--- 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) { } } }