Jeff Thompson
Posts: 0
Joined: Wed Feb 13, 2013 6:54 pm

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

Hi,

I'm using the UI builder and have been getting this error when navigating from one page to the next. There is no custom javascript - only setting 2 local storage variables and navigating to a page. It never navigates to the page.

I get the following error: SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

Here is the line 564: window[ "eval" ].call( window, data );

I've had this happen 2x and the only way out of it is to recreate the entire page. I'd like to know what a simpler fix is to the problem, or what I'm doing to cause it.

I've shared the project with you.

globalEval: function( data ) {
if ( data && core_rnotwhite.test( data ) ) {
// We use execScript on Internet Explorer
// We use an anonymous function so that context is window
// rather than jQuery in Firefox
( window.execScript || function( data ) {
window[ "eval" ].call( window, data );
} )( data );
}
},

Image

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

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

Hi Jeff,
We will test it.

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

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

On "EvoAirConfirmation" page, there is the following JavaScript action added on RestService:
codevar response = JSON.stringify(data));
localStorage.setItem("json_response", response);/code
The error is in the first string - it's an extra closing bracket.

Jeff Thompson
Posts: 0
Joined: Wed Feb 13, 2013 6:54 pm

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

That was removed prior to submitting this ticket. Still isn't working for me.

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

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

Please check your Run JavaScript Actions again...

Jeff Thompson
Posts: 0
Joined: Wed Feb 13, 2013 6:54 pm

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

I double checked and I didn't see any JavaScript Actions left in the project, at least not visible through the UI. I ended up recreating the pages again.

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

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

Hello! After recreating pages you still get the same error?

Jeff Thompson
Posts: 0
Joined: Wed Feb 13, 2013 6:54 pm

SyntaxError: Unexpected token ')' jquery-1.8.2.js:564

No, all is fine. I'm now making frequent backups in case it reappears.

Return to “Issues”