You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a man menu, every menu item is a link with different has value ( #info, #settings, #admin, etc.). When user click menu item, $.address.externalChange handler builds corresponding view with ajax.
Suppose user clicked #admin and he is presented administration page where he can navigate deeper to admin sub-views (the admin sub-views are created with ajax). The point is that when he navigates a sub-view, the browser address string doesn't not change.
Then I would like user to be able to click #admin menu item, to "return" from the sub-view, i.e. to see original admin view.
To implement this it would be good to have $.address.extenralChange callback to be invoked. Currently it is not invoked because the browser address string is #admin, and the menu item he clicked has the same href - #admin.
The text was updated successfully, but these errors were encountered:
This is a showstopper for me too. I would like to at least have the option to choose whether I should reload the page or not when clicking the same link.
Can you make it call the change() handler no matter if the user clicks the same link or not? Then we can check if it's the same URL and choose ourselves what we want to do with it.
Use case:
I have a man menu, every menu item is a link with different has value ( #info, #settings, #admin, etc.). When user click menu item, $.address.externalChange handler builds corresponding view with ajax.
Suppose user clicked #admin and he is presented administration page where he can navigate deeper to admin sub-views (the admin sub-views are created with ajax). The point is that when he navigates a sub-view, the browser address string doesn't not change.
Then I would like user to be able to click #admin menu item, to "return" from the sub-view, i.e. to see original admin view.
To implement this it would be good to have $.address.extenralChange callback to be invoked. Currently it is not invoked because the browser address string is #admin, and the menu item he clicked has the same href - #admin.
The text was updated successfully, but these errors were encountered: