Wire up internal goto() js calls to shield:navigate events
Now, if you click on a link to the page you are on, you get an actual
refresh behavior, which is what 99% of users expect.  Yay for PoLS!
@@ -1167,11 +1167,9 @@ function dispatch(page) {
referer = page;
}
-function redraw(complete) {
-}
function goto(page) {
if (document.location.hash == page) {
- dispatch(page); // re-dispatch
+ $(document.body).trigger('shield:navigate', page);
} else {
document.location.hash = page;
}
