Closed pandaops closed 11 years ago
DONE. Now, we have a function that loads the GIF in the div until dajaxice completes. To use it do : do_dajax(Dajaxice.tasks.abcd, callback_function, args, 'id')
So, instead of calling the dajaxice directly like : Dajaxice.asa.aaa(callback_func, {'aaa':'ddd'} ) DO : do_dajax(Dajaxice.asa.aaa, callback_func, {'aaa':'ddd'}, 'id_in_which to put loading' )
Further improvements not yet implemented :
The loading.gif was not uploaded. Will close it again after testing if the path is correct on the main server.
Above problem fixed in 0e745a435da7bab63aa36a7c7ba47ce1b35a5432
Since Dajax for slow connections will leave users at a confused state whether their page is loading, we need loading GIFs. Take a standard GIF and show them when a dajax call is made. It'd be best if you think of some way to centralize this. Will save you some bull work.