Skip to content
Permalink
Browse files

Tabs: added ability to define the cookie name, fixes #2393

  • Loading branch information...
Klaus Hartl
Klaus Hartl committed Jan 23, 2009
1 parent f964037 commit 0be8f4cbfd1cb9726955ef18c58f904c8cb6b71e
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.tabs.js
@@ -83,7 +83,7 @@ $.widget("ui.tabs", {
},

_cookie: function() {
var cookie = this.cookie || (this.cookie = 'ui-tabs-' + $.data(this.list[0]));
var cookie = this.cookie || (this.cookie = this.options.cookie.name || 'ui-tabs-' + $.data(this.list[0]));
return $.cookie.apply(null, [cookie].concat($.makeArray(arguments)));
},

0 comments on commit 0be8f4c

Please sign in to comment.
You can’t perform that action at this time.