mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
UI Tabs: updated TODO to with information for reported bug
This commit is contained in:
parent
604bddc353
commit
3c569353ec
@ -107,7 +107,11 @@ $.widget("ui.tabs", {
|
|||||||
// remote tab
|
// remote tab
|
||||||
else if (href != '#') { // prevent loading the page itself if href is just "#"
|
else if (href != '#') { // prevent loading the page itself if href is just "#"
|
||||||
$.data(a, 'href.tabs', href); // required for restore on destroy
|
$.data(a, 'href.tabs', href); // required for restore on destroy
|
||||||
$.data(a, 'load.tabs', href.replace(/#.*$/, '')); // mutable data, NOTE IE fails to load if url contains fragment identifier - TODO jQuery Ajax bug?
|
|
||||||
|
// TODO until #3808 is fixed strip fragment identifier from url
|
||||||
|
// (IE fails to load from such url)
|
||||||
|
$.data(a, 'load.tabs', href.replace(/#.*$/, '')); // mutable data
|
||||||
|
|
||||||
var id = self._tabId(a);
|
var id = self._tabId(a);
|
||||||
a.href = '#' + id;
|
a.href = '#' + id;
|
||||||
var $panel = $('#' + id);
|
var $panel = $('#' + id);
|
||||||
|
Loading…
Reference in New Issue
Block a user