asyraf9/jquery-mobile — Issue #76: data-hash="crumbs" required on page and panel?
Author: frequent
Created: 2011-10-09 13:25:01+00:00
State: open

Hey Asyraf,

I noticed you on your RC1 version (line 561, data-crumbs handler) that you now require data-hash="crumbs" to be set on both panel AND subsequent pages for data-crumbs to work. Like so:

if($this.jqmData('hash') == 'crumbs' || $this.parents('div:jqmData(role="panel")').data('hash') == 'crumbs'){...

Previously it was only required on the panel, wasn't it? Why the upgrade?

Also if you pagechange with crumbify-active on main-panel and go back clicking the crumbify button, I'm loosing splitview in my version (no data-panel specified on the button link, adding it also doesn't help... checking this myself now). Maybe a general data-splitview="back" attribute would come in handy for all back and crumbify buttons.

Cheers!