diff options
author | Adam Chlipala <adam@chlipala.net> | 2013-11-14 06:36:36 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2013-11-14 06:36:36 -0500 |
commit | 4259d248050c93180767c076469431f11b8fe984 (patch) | |
tree | 760611b99895723420f6d5bafd7afbd8dfde536e /tests | |
parent | aa795d0463d0ef25c5fefbabb2013d2276c01327 (diff) |
Fix more of client-side error handlers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/updateErr.ur | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/updateErr.ur b/tests/updateErr.ur index 345e3aa8..d15f27a0 100644 --- a/tests/updateErr.ur +++ b/tests/updateErr.ur @@ -8,8 +8,9 @@ fun main () : transaction page = <dyn signal={s <- signal s; return <xml>{[s]}</xml>}/><br/> <dyn signal={s <- signal s; if s = "" then return <xml>Init</xml> else error <xml>Crapky</xml>}/><br/> <dyn signal={s <- signal s; return <xml>"{[s]}"</xml>}/><br/> + <button onclick={fn _ => debug "88"}/><br/> - <ctextbox source={txt}/> <button onclick={s' <- get txt; set s s'; set txt ""}/> + <ctextbox source={txt}/> <button onclick={fn _ => s' <- get txt; set s s'; set txt ""}/> <hr/> |