|
Rank: Member Groups: Member
Joined: 10/19/2009 Posts: 11
|
Hi there, I am getting a javascript error in IE when selecting a tab client side. The error is - Error Message: 'return' statement outside of function URL: https://ds.securedsigning.com/eo_web.ashx?id=caec2f5a-3e28-4d9e-9633-148e06f61a3dThe code snippet I am using is
Code: JavaScript
var tabStrip = eo_GetObject('ctl00_contentMain_tsMain');
tabStrip.setSelectedIndex(1);
I have just updated to the latest version of your controls. Please help. Cheers Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We can't find anything that could cause this. Do you have the page online so that we can take a look?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/19/2009 Posts: 11
|
Hi there, Here is a link for you to follow, just follow the instructions on screen, the problem is happening in IE and FireFox. http://ds.securedsigning.com/SaveMyBacon/SaveMyBaconLogin.aspx?Key=RRgxCnOK9jxxkS8l8pKN6uBDluCML5S3qUEobywPdcLH5xG/0RgxPxVCfN/THAKv7ZjcMeA95FyPxxXsSzPpKrCzVTQ0B BPu This issue is urgent. Cheers Mike
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
It appears that for TabStrip "tsMain", tab item "My Document"'s ClientSideOnClick is set to the following value:
if (reqSig) {showPopup('popupSignatureWarning', 'Select a Signature'); return;}showAuth();
The code is called when the tab item is clicked. However it should not have "return" statement because it is not called inside a function.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/19/2009 Posts: 11
|
Hi there,
Thanks for your reply.
We just found the issue ourselves as well.
Sorry for wasting your time
Cheers
Mike
|
|