borng / wwwsqldesigner

Automatically exported from code.google.com/p/wwwsqldesigner
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

No menu in Google Chrome #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the index.html (from 2.6) in browser Google Chrome
2. The menu at the left will not appear.
3.

What is the expected output? What do you see instead?
Only the squared 'paper'.

What version of the product are you using? On what operating system?
2.6 on windows.

Original issue reported on code.google.com by linssen....@gmail.com on 15 Feb 2012 at 11:12

GoogleCodeExporter commented 9 years ago
The JS code probably failed to initialize. Please post any JS errors reported 
in the JS Console (hit Ctrl+J or F12 to open it).

Also, note that you need a local webserver (http://localhost/) to try this 
locally; opening it via file:/// protocol won't probably work.

Original comment by ondrej.zara on 15 Feb 2012 at 4:26

GoogleCodeExporter commented 9 years ago
This is what I get:

XMLHttpRequest cannot load file:///F:/Aram/wwwsqldesigner-2.6/locale/en.xml. 
Cross origin requests are only supported for HTTP.
oz.js:219

Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101

Checked with FF, works. Chrome is the latest - 17.0.963.56 m

Original comment by paronik...@gmail.com on 6 Mar 2012 at 4:37

GoogleCodeExporter commented 9 years ago
[TEMPORARY SOLUTION]: A simple try/catch block around xhr.send on oz.js:219 
will do the trick 

Original comment by paronik...@gmail.com on 6 Mar 2012 at 4:45

GoogleCodeExporter commented 9 years ago
HMM, XMLs and styles not loaded, Chrome plays an FBI Game :)))
I'm washing hands, FF is fine for me

Original comment by paronik...@gmail.com on 6 Mar 2012 at 4:51

GoogleCodeExporter commented 9 years ago
You must not open it locally (via file:// protocol). Use a local webserver and 
a http://localhost/ address. Chrome forbids XHR access to file:// resources.

Original comment by ondrej.zara on 6 Mar 2012 at 8:25