diff options
author | Klaus Hartl <klaus.hartl@googlemail.com> | 2009-01-23 20:11:02 +0000 |
---|---|---|
committer | Klaus Hartl <klaus.hartl@googlemail.com> | 2009-01-23 20:11:02 +0000 |
commit | 0be8f4cbfd1cb9726955ef18c58f904c8cb6b71e (patch) | |
tree | f5de166dd155faed36ff2bfc742ebb9d01bc34f1 /ui/ui.tabs.js | |
parent | f964037b63952081e5b12f62cfc11d51cc906a0b (diff) | |
download | jquery-ui-0be8f4cbfd1cb9726955ef18c58f904c8cb6b71e.tar.gz jquery-ui-0be8f4cbfd1cb9726955ef18c58f904c8cb6b71e.zip |
Tabs: added ability to define the cookie name, fixes #2393
Diffstat (limited to 'ui/ui.tabs.js')
-rw-r--r-- | ui/ui.tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index 86ca68a37..dd283721e 100644 --- a/ui/ui.tabs.js +++ b/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))); }, |