| 587 | | // last, so that load event is fired before show... |
| 588 | | self.element.dequeue("tabs"); |
| | 591 | // callbacks |
| | 592 | self._trigger('load', null, self._ui(self.anchors[index], self.panels[index])); |
| | 593 | try { |
| | 594 | // Passing index avoid a race condition when this method is |
| | 595 | // called after the user has selected another tab. |
| | 596 | // Pass the anchor that initiated this request allows |
| | 597 | // loadError to manipulate the tab content panel via $(a.hash) |
| | 598 | o.loadError(xhr, s, e, index, a); |
| | 599 | } |
| | 600 | catch (e) {} |