Skip to main content

Search and Top Navigation

#5070 closed enhancement (fixed)

Opened January 17, 2010 06:15AM UTC

Closed May 17, 2011 02:57PM UTC

Tabs: Add ability to cleanly handle ajax load errors

Reported by: snover Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8a2
Keywords: Cc:
Blocked by: Blocking:
Description

Currently, context isn’t provided when loading an AJAX tab, which means it’s difficult or impossible to determine which tab experienced an error on load. This very simple patch sets the context of the AJAX request to the tab that is being loaded.

Attachments (2)
Change History (2)

Changed March 28, 2011 09:30PM UTC by gnarf comment:1

status: newopen

Sounds like this would be useful...

Changed May 17, 2011 02:57PM UTC by scottgonzalez comment:2

milestone: TBD1.9
resolution: → fixed
status: openclosed
summary: Send tab ui context to $.ajaxTabs: Add ability to cleanly handle ajax load errors

You can now access the jqXHR object from the beforeload event and bind any custom error handling functionality that you want.