That seems to fix the issue, however :
1.I am using the custom package builder - to minimise my scripts so i dont think i can use it with this internal build.
2.It now breaks when clicking a button that has no href is clicked - most of my buttons that sit inside a listview item template have no href (they are bound to click),
There seems to be no check for the href being undefined.
var pane = this,
link = $(e.currentTarget),
transition = attrValue(link, "transition"),
rel = attrValue(link, "rel") || "",
target = attrValue(link, "target"),
href = link.attr(HREF),
remote = href !== "#" && this.options.serverNavigation; <---This blows up