"Stop Upload" results in Access Denied js error

XUpload related questions

Moderator: admin

Message
Author
dynagraphics
Posts: 4
Joined: Aug 04, 2011 4:45 pm

"Stop Upload" results in Access Denied js error

#1 Postby dynagraphics » Aug 04, 2011 4:51 pm

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.

admin
Site Admin
Posts: 1784
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Aug 13, 2011 3:26 am

That's becsuse of JavaScript security policy. There's no known solution.

ssanders
Posts: 6
Joined: Mar 06, 2012 4:29 pm
Location: Ashland, OH, USA

Denied...

#3 Postby ssanders » Mar 07, 2012 9:19 pm

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:


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests