marieall
Posts: 0
Joined: Thu Oct 03, 2013 4:10 pm

How to hide the spinning wheel ?

Please can you help me with my message above?
I really don't understand why, but I can't access my "airports" section from the main menu. (see message above)

I am about to publish the app and this is holding me back :(

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to hide the spinning wheel ?

Hello! We're working on your request.

marieall
Posts: 0
Joined: Thu Oct 03, 2013 4:10 pm

How to hide the spinning wheel ?

thank you :)

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to hide the spinning wheel ?

Most likely you have error or typo in JS. Please check console. Are there any errors?

marieall
Posts: 0
Joined: Thu Oct 03, 2013 4:10 pm

How to hide the spinning wheel ?

So I tested different things and I don't understand why, because it used to works, but the following JS code (for displaying a message if no internet connection when trying to access the database in the airport section) seems to block the process:
if (states[Connection.NONE]){
alert('Geen internet :(');
}

Do you know why?
If I take it off, it is working, otherwise, the first page of airport section doesn't display.

marieall
Posts: 0
Joined: Thu Oct 03, 2013 4:10 pm

How to hide the spinning wheel ?

As for the code (advised by Appery a little earlier in this discussion)for displaying the spinning wheel, should I put it on event load, before load, or show?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to hide the spinning wheel ?

Hi Marie,

I'd recommend Load. You can check the Internet connection using online/offline event in Appery.io UI.

marieall
Posts: 0
Joined: Thu Oct 03, 2013 4:10 pm

How to hide the spinning wheel ?

Hi Katya,

1-Regarding the spinning wheel
The following code advised by Appery above doesn't work, and even block the access to my page : Airports-List of Country

$.mobile.loading("show").attr("style", "display:block");

2-As for the internet connection checking, I already tried the online/offline event, with an action "run js" for displaying a small pop up message.

Even if I'm not setting the event on the home page, but on the page A1_Airports_Country (1st page after home page when selecting "AIrports" the pop up message only appears on the home page.
I want the pop up window to open only when the user tries to access the specific section of Airports, which is the only section for which internet is needed.
Any suggestion on how to set the pop as I wish?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to hide the spinning wheel ?

Hello! Could you give us your public app link and steps to reproduce?

Return to “Issues”