I still can't get it to work.
It shows 3 buttons without any text and without links (see
screenshot).
The number of buttons do change if I add or delete tours in the tourml file,
so there's that. It seems to get the right file and all, but does not show the
content.
First, can anyone try to run it with the following file(1) set in dist/Config.js (tourMLEndpoint: 'BeholdAmerica.xml'),
and tell what do you see?
(1)
http://www.beholdamerica.com/mobiletour/data/BeholdAmerica.xmlI did go around the code and added some "console.log" statments in TAP-Web-App-1.1.0-with-dependencies.js.
I couldn't figure out what is the source of the problem... I currently get in the js console:
Empty string passed to getElementById() in line 44073, what's that about?
44072 hash = path.stripHash( path.stripQueryParams(path.parseLocation().hash) ),
44073 hashPage = document.getElementById( hash );
Another thing that I was able to do:
in the function tourInfoPopup which is in TapAPI.classes.views.TourListView,
the variable target was always null when I printed it out, so I _manually_ set it to an ID of
an actual tour in the file ('tour-112') and then when you click at any of the buttons you get
the actual popup with the description from the TourML file (wow!). Also, that is another indication that it does
in fact read the file.
Hope you can help me to solve the issue soon,
- Noam