I think I know what is the error.
Help Me please.
This is my public link:{
http://appery.io/app/mobile-frame?src...
}
Click the button on the home screen
You have 2 cities to choose from:
Itamaraju or teixeira de freitas.
When you click Itamaraju, you receive from the database all companies of Itamaraju.
When you click Teixeira de freitas you receive from the database all companies of Teixeira de Freitas
Click Itamaraju, and you'll enter the page Itamaraju.
Then click on "building materials"
That will show you the companies of Itamaraju which are home-building sector.
This is the list.
You can click on any item in the list.
When you click you will be taken to the page "Empresa".
The "Empresa" page is a single page of the app server to show any company selected in the list.
Can be of Itamaraju or of Teixeira de Freitas.
Can be any one of the two cities.
Are always shown on the page "Empresa"
The page "Empresa" shows all enterprise data, Phone, address, photos, location, email ...
Now you already know how the app works.
Depurei the application and see the following problem.
Please help me to solve.
The error that pops up is related to the city of Teixeira de freitas.
And this company is shown in image ...
is a company town Itamaraju.
I believe you have something to do with it.
The page Empresa has Read mapping service of 2 cities.
Itamaraju, and teixeira de freitas.
If I open a company on the list of city of teixeira de freitas, the error that appears is of Itamaraju.
If I start a business in the city list of Itamaraju, the error that appears is of Teixeira de Freitas.
This is because the company has the page "read service" of 2 cities.
But I don't believe that this error is the problem for the "IF" of the JS code is not fucionando.
I did the test by creating another app.
And even creating another app, code that contains "if" do not work.
You can debug my app, and figure out the problem?
The only mistake I found was this.
How can I solve this problem and make the "if" back up and running?