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

Work around failed requests from jbrowse #6

Open
shanewilson opened this issue Feb 6, 2012 · 0 comments
Open

Work around failed requests from jbrowse #6

shanewilson opened this issue Feb 6, 2012 · 0 comments

Comments

@shanewilson
Copy link
Member

jbrowse generates bad requests. The segments concerned looks like this. They are in web-app/js/jbrowse/jbrowse.js, and there are two of them, for different cursors. Because these are coming from JavaScript, the URLs are relative to the requesting page, rather than the application, and you get messages like: "Exception occurred when processing request: [GET] /capsid/jbrowse/show/closedhand.cur". Simply, the URL is wrong. There are accesses to both closedhand.cur and openhand.cur

view.dragEnd = function(event) {
    dojo.forEach(view.dragEventHandles, dojo.disconnect);

    view.dragging = false;
    view.elem.style.cursor = "url(\"openhand.cur\"), move";
    document.body.style.cursor = "default";
    dojo.stopEvent(event);
    view.showCoarse();

    view.scrollUpdate();
    view.showVisibleBlocks(true);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant