Bug Tracker

Opened 8 years ago

Closed 8 years ago

#11393 closed bug (invalid)

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

Reported by: danial.toufani@… 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 ....

Change History (1)

comment:1 Changed 8 years ago by sindresorhus

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.

Note: See TracTickets for help on using tickets.