azicchetti/jquerymobile-router — Issue #32: Problems when link has param
Author: kagemusha
Created: 2012-03-07 11:35:41+00:00
State: open

I'm having problems with links with urls with params.

Links w/out params are fine, like: Waverly One
But with params fail: Waverly One

The problem seems to be in

_processRoutes: function(e,ui,page){
....
} else if (!this.documentEvts[e.type] && page && !$(page).jqmData("url")){
return;
}

Seems !$(page).jqmData("url") is returning null, so _processRoutes returns without checking the routes object.

Any thoughts?