Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide blocks Javascript from loading #140

Open
ncbaratta opened this issue Jan 15, 2016 · 3 comments
Open

Guide blocks Javascript from loading #140

ncbaratta opened this issue Jan 15, 2016 · 3 comments

Comments

@ncbaratta
Copy link

If you see this page: http://demo.bywatersolutions.com you see there is a scrolling book image. If you go to http://gots.bywatersolutions.com/tutorial/koha-demo you see that the book bar isn't there.

@Blake-
Copy link

Blake- commented Jan 17, 2016

Is that from this error?
Uncaught SecurityError: Blocked a frame with origin "http://demo.bywatersolutions.com" from accessing a frame with origin "http://gots.bywatersolutions.com". Protocols, domains, and ports must match. https://syndication.twitter.com/i/jot/syndication?dnt=1&l=%7B%22_category_%…w%22%2C%22page%22%3A%22timeline%22%2C%22action%22%3A%22impression%22%7D%7D Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

@kidclamp
Copy link

I was thinking the js error
permisson denied to access property "document"
from basket.js:44:9
might be stopping the rest of the script from loading, however, I get the same error just loading our site in an iframe on another page, so it may be an issue on our end

@michaelhagedon
Copy link
Member

It look like the book bar is attempting to access the main document:
str_cookie = parent.document.cookie;
Because GotS runs on iframes, browser security restrictions are not going to allow that. We're open to hearing about other approaches, but at the moment your choices are to change your site, or to run that tutorial in popup mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants