Opened 10 years ago

Closed 9 years ago

#4897 closed bug (notabug)

UI Tabs and sync ajax causes bug showing the the processing state

Reported by: teejay Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.7.2
Keywords: Tab processing Cc:
Blocked by: Blocking:

Description

Hello I hope i found a bug in the Tabs component. If u load the content with ajax and set the option async to false IE / chrome / safari dont display the processing state.

if i do something like that

$('#tabs').bind('tabsselect', function(event, ui) {

$('#t3').attr('class','ui-state-processing'); alert('break');

});

looks like the state gets instantly overwritten with something else.

it works for the moment until i confirm the alert box. Fire fox and opera seems to work like expected. is there a fix for it or is that not fixable until the next version?

Thx in advance Thomas

Change History (3)

comment:1 Changed 10 years ago by Jörn Zaefferer

Milestone: TBD1.8

comment:2 Changed 10 years ago by Jörn Zaefferer

Priority: majorminor

comment:3 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

We can't force the browser to do anything during a synchronous XHR request.

Note: See TracTickets for help on using tickets.