agocorona / MFlow

(Haskell) Web application server with stateful, type safe user interactions and widget combinators
http://mflowdemo.herokuapp.com
Other
100 stars 12 forks source link

Active widgets - required scripts not loaded when widget invalid #46

Closed BartAdv closed 10 years ago

BartAdv commented 10 years ago

Easiest to reproduce with Grid demo - just remove the default 0 from one of the cells, then click submit. The validation message should appear near the modified cell, but from now on, the grid is not working properly, as there are no scripts loaded.

agocorona commented 10 years ago

Thanks Happens with any validation error. Also in the most basic input:

http://localhost/noscript/basicwidgets/counti

The autorefresh scripts for the menu. are not loaded when validation fails. The effect is not very visible, since the whole page refresh, but the scripts are not there.