Welcome Guest Search | Active Topics | Sign In | Register

Expected ';'. Eo.Web 10.0.54.2 Options
Sean Clark
Posted: Thursday, April 25, 2013 6:46:08 AM
Rank: Advanced Member
Groups: Member

Joined: 12/24/2008
Posts: 43
Hi

I have a page using a combination of EO Menu, Callback Panels and Dialogs and when I trigger a callback via a button click, I get the following error:

Expected ';'

The call stack is:

GlobalErrorHandler [ErrorHandler.js] Line 3 Script
aatg [eo_web.ashx] Line 6 Script
aath [eo_web.ashx] Line 6 Script
aaud [eo_web.ashx] Line 6 Script
aauc [eo_web.ashx] Line 6 Script
aaue [eo_web.ashx] Line 6 Script
aaua [eo_web.ashx] Line 6 Script
aaub [eo_web.ashx] Line 6 Script
aatv [eo_web.ashx] Line 6 Script
aaun [eo_web.ashx] Line 6 Script
Anonymous function [eo_web.ashx] Line 6 Script
i [eo_web.ashx] Line 6 Script
h [eo_web.ashx] Line 6 Script
aaul [eo_web.ashx] Line 6 Script
> onreadystatechange [eo_web.ashx] Line 6 Script

Looking at the line of code at onreadystatechange [eo_web.ashx], could it be this:

this.ao.onreadystatechange=function(){h.aalo(true)};

Should h.aalo(true) not have a semi colon before the closing brace?

Kind Regards
Sean
eo_support
Posted: Thursday, April 25, 2013 9:26:36 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Your stack trace shows the error is in ErrorHandler.js, that's not our code. So you will have to start from there first.

Thanks!
Sean Clark
Posted: Thursday, April 25, 2013 10:54:20 AM
Rank: Advanced Member
Groups: Member

Joined: 12/24/2008
Posts: 43
Hi

ErrorHandler.js is just where my global javascript error handler function is located and the value of e is the error that has been thrown earlier in the stack.

function GlobalErrorHandler(e) {
debugger;
stackTrace(arguments.callee);
}

Is it possible that the line of code below from the EO libraries has this syntax error?

this.ao.onreadystatechange=function(){h.aalo(true)};

Kind Regards
Sean
eo_support
Posted: Thursday, April 25, 2013 11:19:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I see. That line should be fine. If the problem were in that line, the stack trace wouldn't show all the other calls.

The last line in the stack trace (aatg) is a function that executes your JavaScript code block rendered through the Callback. That function itself is fine (otherwise the CallbackPanel control would never function at all). So the problem most likely is in the JavaScript code in your page.

Thanks!
Sean Clark
Posted: Thursday, April 25, 2013 6:01:13 PM
Rank: Advanced Member
Groups: Member

Joined: 12/24/2008
Posts: 43
Hi

Chrome is a little bit more helpful:

SyntaxError: missing ; before statement

scope varaibles for EO1054.f.aatg are:

a = "_eo_guardDocWrite=true;EO1054.f.ahn('_eo_ScheduleHistory1_DialogFilters_ctl00_srchStartCalendar_EODateTimePicker_popupimg')_eo_guardDocWrite=false;"

note the missing ; before the second _eo_guardDocWrite ?

This is the line that firefox complains about?

Whilst I am using EO DateTimePicker control, I dont recognise this code?

Any help you can offer is greatly accepted..

Cheers
Sean
eo_support
Posted: Thursday, April 25, 2013 9:19:00 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

I think you are right. This appears to be the root of the problem. We will provide you an update build shortly with this issue fixed, you can then try it out and see if it resolves the issue for you.

Thanks!
eo_support
Posted: Friday, April 26, 2013 8:47:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We have posted a new build that should fix this problem. Please see your private message for the download location.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.