Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Chrome fails to load on certain PC configurations #505
I had a user write in saying that they were unable to access JBrowse via Google Chrome on a PC. Other users on nearly identical configurations had no issues... nor did she have an issue accessing it via Firefox. Looking into the developer tools the console logged the following error for her...
Failed to load resource: the server responded with a status of 404 (Not Found) http://jbrowse.informatics.jax.org/src/dgrid/TouchScroll.js
Solution to this problem (kindly suggested to me by Emily Greenfest-Allen via the mailing list) is to add a few files from the dgrid project (https://github.com/sitepen/dgrid) into the src/dgrid directory and create a new directory named util/ here.
This has solved my users problem as well however not being terribly familiar with dgrid I'm not sure if there is an underlying problem as well. Also of note is that Emily had found this was an issue pertaining only to touch screen PC's but the user I was working with was on a regular Dell laptop.
Thanks for finding this. Resolving these types of issues might be a little tricky since it is based off of the dojo build cycle. I think these files are probably automatically removed from the release instances, but maybe we can find where to specify the dependency
I found another case where this was happening here so I sort of expedited this fix http://sourceforge.net/p/gmod/mailman/message/32773795/
I also wanted to make sure I was doing it right so I asked on IRC
So, after all that I made a patch to include it into our release build