Skip to main content

Bug Tracker

Side navigation

#11393 closed bug (invalid)

Opened February 26, 2012 12:52PM UTC

Closed February 26, 2012 02:19PM UTC

Not working ...follow a tab's URL instead of loading its content via ajax

Reported by: danial.toufani@gmail.com Owned by:
Priority: low Milestone: None
Component: misc Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

This feature is not working

jquery 1.7.1

jquery-ui 1.8.18

...follow a tab's URL instead of loading its content via ajax

Note that opening a tab in a new window is unexpected, e.g. inconsistent behaviour exposing a usablity problem (http://www.useit.com/alertbox/tabs.html).

$('#example').tabs({

select: function(event, ui) {

var url = $.data(ui.tab, 'load.tabs');

if( url ) {

location.href = url;

return false;

}

return true;

}

});

Beacause expression $.data(ui.tab, 'load.tabs') returns null,

as i debug the jquery-ui code, this value is available in load() method, but is not available here ....

Attachments (0)
Change History (1)

Changed February 26, 2012 02:19PM UTC by sindresorhus comment:1

component: unfiledmisc
priority: undecidedlow
resolution: → invalid
status: newclosed

Thanks for submitting a ticket to the jQuery bug tracker. Unfortunately we only handle issues to do with jQuery core. For assistance with jQuery UI please either submit your issue to their bug tracker http://bugs.jqueryui.com or ask for further assistance in #jquery on freenode.