RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File sharing script

File mirror script
"Stop Upload" results in Access Denied js error

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
Author Message
dynagraphics



Joined: 04 Aug 2011
Posts: 4

PostPosted: Aug 04, 2011 4:51 pm    Post subject: "Stop Upload" results in Access Denied js error Reply with quote

I'm trying to use Xupload Pro inside an iframe on a Joomla website. Everything seems to be working well except for the fact that if I click the "Stop Upload" button I get a js error "Access Denied". Here's the details of what I get...

File: xupload.js
Line: 466
Error: Access is denied.

Line 466 reads:

if(!!top.execScript)

If I use it outside of an iframe it works okay and I do not get this error. What can be done to fix this so it works inside an iframe?

Thanks for your help.
Back to top
View user's profile
admin
Site Admin


Joined: 22 Mar 2006
Posts: 1634

PostPosted: Aug 13, 2011 3:26 am    Post subject: Reply with quote

That's becsuse of JavaScript security policy. There's no known solution.
Back to top
View user's profile Send e-mail
ssanders



Joined: 06 Mar 2012
Posts: 6
Location: Ashland, OH, USA

PostPosted: Mar 07, 2012 9:19 pm    Post subject: Denied... Reply with quote

I got some other JavaScript denied errors using iframes, and while I was searching for a way to resize an iframe to its content stumbled on this link which helped with the deny errors too:

javascript - Resizing an iframe based on content - Stack Overflow:
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

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


Copyright © 2003-2014 Sibsoft Ltd