Opened 13 years ago
Closed 12 years ago
#5070 closed enhancement (fixed)
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 (4)
Changed 13 years ago by
Attachment: | jquery-ui-tabs-context.js.patch added |
---|
Changed 13 years ago by
Attachment: | jquery-ui-tabs-context.js.2.patch added |
---|
Add tabserror event instead of setting a context
comment:2 Changed 12 years ago by
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.
Note: See
TracTickets for help on using
tickets.
Patch to set the context of tabs AJAX requests