Unexpected token illegal error when loading a page
Posted: Sun May 04, 2014 12:35 am
by RobertJay
When I attempt to load a page ("manage_messages") having several attached services, I get an "unexpected token" error message in the Chrome debugger. I've tried to check all the things I control but cannot seem to spot any problems - and I don't know how to proceed. I've shared the app and hope you can help. To duplicate:
- load app
- from splash, go to menu
- click apperi button at right on header to load the "manage_messages" page - but it hangs.
Thanks very much.
Unexpected token illegal error when loading a page
Posted: Sun May 04, 2014 3:19 am
by Yurii Orishchuk
Hi Robert.
You have problem with your JS code in Error event hander for "update_message" datasource.
See screen shot for details. http://prntscr.com/3fzmkc/direct
Regards.
Unexpected token illegal error when loading a page
Posted: Sun May 04, 2014 3:46 am
by RobertJay
Yurii, the service you and your colleagues provide is simply extraordinary and beyond appreciated. I must've looked at this line of code 5 times and never saw the inconsistency. I will check it out tomorrow when I get to work but I'm sure you have found the culprit. I can't tell you how I how much I appreciate this.