Error: Permission denied to access property "document"

706 views
Skip to first unread message

kaingo

unread,
Apr 9, 2016, 5:04:29 PM4/9/16
to Sahana-Eden
I'm  trying to access sahana eden by embedding a link in liferay. This works properly but when i try to create staff and try to assign an organization in which the staff belongs which is not already there by clicking on "create organization"  a blank pop window without form appears....
i ran firebug and this is the errors i got:


S3.min.js (line 498, col 218)


see the screenshot attached...

how can i fix that?
Capture.PNG
Message has been deleted

John kaingo

unread,
Apr 10, 2016, 10:46:29 AM4/10/16
to Sahana-Eden
i have found out what causes the error
It seems the browser is  preventing cross-site scripting attach
This is forbidden due to cross domain origin. You can only get content of iframe from the same domain you are on.
the iframe(in pop form) points to a different domain(web2py : locahost:8000) different from liferay using  localhost:8080 ... that why the permission error.

but is there a way to work around this?
Reply all
Reply to author
Forward
0 new messages