Opened 12 years ago
Closed 12 years ago
#7131 closed feature (fixed)
Tabs: Add beforeload event; deprecate ajaxOptions and cache options
Reported by: | Scott González | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.9.0 |
Component: | ui.tabs | Version: | 1.8.10 |
Keywords: | Cc: | ||
Blocked by: | Blocking: | #7133, #7134 |
Description
The ajaxOptions and cache options are being removed in favor of a new event: beforeload. The beforeload event will receive a jqXHR object and the settings object that will be passed to jQuery.ajax().ajaxOptions is replaced by modifying the settings passed to beforeload and caching can be implemented by calling event.preventDefault() to prevent the ajax call and jump straight to showing the tab.
Change History (5)
comment:1 Changed 12 years ago by
Priority: | minor → blocker |
---|---|
Status: | new → open |
comment:2 Changed 12 years ago by
Blocking: | 7133 added |
---|
comment:3 Changed 12 years ago by
Blocking: | 7134 added |
---|
comment:4 Changed 12 years ago by
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Tabs: Added tests for cache option. Fixes #7131 - Tabs: Add beforeload event; deprecate ajaxOptions and cache options.
Changeset: 7157af2550b1b26fb71a7fac17ea67f36f117f7e
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/jquery-ui/commit/aeaaf93ebb51ab6ff61a42d365edfd3872ae2ebd