// DEPRECATED
if ( $.uiBackCompat !== false ) {
+
+ // url method
+ (function( $, prototype ) {
+ prototype.url = function( index, url ) {
+ this.anchors.eq( index ).attr( "href", url );
+ };
+ }( jQuery, jQuery.ui.tabs.prototype ) );
+
// ajaxOptions and cache options
(function( $, prototype ) {
$.extend( prototype.options, {
var _create = prototype._create,
_setOption = prototype._setOption,
_destroy = prototype._destroy,
- oldurl = prototype._url;
+ oldurl = prototype.url || $.noop;
$.extend( prototype, {
_create: function() {
};
}( jQuery, jQuery.ui.tabs.prototype ) );
- // url method
- (function( $, prototype ) {
- prototype.url = function( index, url ) {
- this.anchors.eq( index ).attr( "href", url );
- };
- }( jQuery, jQuery.ui.tabs.prototype ) );
-
// panel ids (idPrefix option + title attribute)
(function( $, prototype ) {
$.extend( prototype.options, {