Issue 396: How to show loading image when manipulating AJAX content?
Status:  WontFix
Owner: ----
Closed:  Apr 2010
Reported by robinzui...@gmail.com, Dec 14, 2009
Hi,

I just can't find out how to do this:
1. Show nyroModal with loading image when onclick happens
2. retrieve JSON (ajax) content and manipulate some HTML
3. Show this manipulated HTML in nyroModal

Could someone explain if this and/or how this can be done? 

Thnx in advance,
Robin
Dec 17, 2009
#1 paul.sy...@gmail.com
I'm trying to do the same thing. I've tried setting the showLoading property on the settings, but it never gets 
called. Overriding showContent works, but it doesn't show the loading panel.
Dec 17, 2009
Project Member #2 nyro...@gmail.com
If you want to load html content trhough Ajax call and then manipulate it, you can do
it by using the regular nyroModal ajax loading and manipulate your HTML with the
endFillContent callback.

If you want to load JSon object (like {v1:"",v3:""} ) using an ajax call, it's not
currently supported by nyroModal in its core. It may be possible to hack it with the
same kind of trick used in
http://nyromodal.nyrodev.com/wiki/index.php/Show_the_loading_to_execute_an_action_on_closing

I don't have many time to think about it for now, and define which callback to
overwrite and what to do with them. Sorry about that.
Apr 16, 2010
Project Member #3 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix