about state #120

acroidea opened this Issue Mar 11, 2012 · 0 comments


None yet

1 participant


when I set state, sometime it is not working.
_value = _href()
_value is set when address created, but it not changed after I call state(rootPath).
when I set rootPath = "/rootPath/" and I open page "/rootPath/child". all link to /rootPath/ are not working.
$.address.state(rootPath).change(function (event) ....

$('.partial-link').live('click', function (e) {
    var url = '';
    if ($(this).is('a')) {
        url = $(this).attr('href');
    } else {
        url = $(this).data('link') || $(this).find('a').attr('href');
    $.address.value(relative(url, rootPath));
    return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment