[Sakai Jira] Commented: (SAKIII-2503) Directory hashing is broken
James Sloane (JIRA)
sakai-ui-dev-tracking at collab.sakaiproject.org
Thu Mar 3 19:37:00 PST 2011
[ https://jira.sakaiproject.org/browse/SAKIII-2503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=121911#comment-121911 ]
James Sloane commented on SAKIII-2503:
I fixed the problem with the hash changing in https://github.com/jsloane/3akai-ux/commit/e712711c74541cde8919f0f8bb1fc8a6804e773f and https://github.com/jsloane/3akai-ux/commit/f5e77e57a8801618668b9351dd60cbf7f5cc8228
I looked at using he hashchange event to get the back/forward buttons working but had no luck. There seems to be a 2nd hashchange event coming from somewhere, I suspect $("li#" + id).children("a").click(); is causing it, but I can't see where this is binded (probably in jstree).
> Directory hashing is broken
> Key: SAKIII-2503
> URL: https://jira.sakaiproject.org/browse/SAKIII-2503
> Project: Sakai 3 UI Dev
> Issue Type: Bug
> Components: Directory
> Affects Versions: Sprint 105: Stabilization & Release
> Reporter: Chris Roby
> Assignee: James Sloane
> Priority: Critical
> Fix For: Sprint 105: Stabilization & Release
> The directory hashing isn't working properly.
> 1) Click on 'University Administration' on the jstree on the left
> 2) Click on 'Planning and Policy' in the main screen'
> Note that the URL, which should be /directory#indianauniversity/universityadministration/planningandpolicy is /directory#
> Also, we should look into re-working how this section handles hashchange. The way it should work is:
> 1) any links that change the hash should have that hash in their href
> 2) the hashchange event should take care of any jstree manipulation needed to maintain state
> 3) refreshing the page should land the user where they currently are at
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the sakai-ui-dev-tracking