In boot I have
LiftRules.ajaxStart =
Full(() => LiftRules.jsArtifacts.show("ajax-loader").cmd)
LiftRules.ajaxEnd =
Full(() => LiftRules.jsArtifacts.hide("ajax-loader").cmd)
which I would think should show a spinning wheel during ajax
requests.
But it doesn't seem to work for me. It never shows. I tried to make the
requests take longer (4s), but still it doesn't show. Only when I
terminate the server and make an ajax request, the wheel shows before
the alert dialog saying there was a problem. This indicates that the html to
show the image is correct.
Any clues?
/Jeppe
> Jeppe, did you get any further with this?
Nope. Don't really know how it's supposed to work, so haven't filed a
ticket (yet :-)
I took a cursory look at the javascript generated by Lift for ajax
handling and to me it looks like the functionality to show the image is
never invoked in the normal execution flow....but alas, this could be
intentional :.)
/Jeppe
Done. http://github.com/dpp/liftweb/issues/#issue/152
/Jeppe