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 comment:1
status: | new → open |
---|
Changed May 17, 2011 02:57PM UTC by comment:2
milestone: | TBD → 1.9 |
---|---|
resolution: | → fixed |
status: | open → closed |
summary: | Send tab ui context to $.ajax → Tabs: 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.
Sounds like this would be useful...