What about adding a line in web2py_component (line 87 of web2py_ajax.js)
function web2py_component(action,target) {
jQuery(function(){
jQuery('#'+target).html("Loading..."); // <--- replace this
with some picture etc.
web2py_ajax_page('get',action,null,target);
});
}
I mean the A function... say that you have a link which reload the
component... and the response takes few seconds... in these few seconds you
could click the link again... and it is not clear that it is loading
something
On Mon, Jun 27, 2011 at 11:30 PM, David J. wrote:
> You can pass a loa
You can pass a loading image to the load function
On 6/27/11 6:13 PM, Sebastian E. Ovide wrote:
Hi All,
some times a link A will reload a component (via cid=request.cid). In
those situations would be nice to have some kind of "loading" message
displayed.
thanks
--
Sebastian E. Ovide
Hi All,
some times a link A will reload a component (via cid=request.cid). In those
situations would be nice to have some kind of "loading" message displayed.
thanks
--
Sebastian E. Ovide
4 matches
Mail list logo