diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-06-20 13:17:05 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-06-20 13:17:05 +0000 |
commit | 82df8dbf533f2b44602e33c4201d7fe8475be919 (patch) | |
tree | 29af2d8ad1d9165798e30a80659200d181bb9002 /ui | |
parent | 3057d49b68d2d9750e694ca9711ea808f86d4618 (diff) | |
download | jquery-ui-82df8dbf533f2b44602e33c4201d7fe8475be919.tar.gz jquery-ui-82df8dbf533f2b44602e33c4201d7fe8475be919.zip |
Tabs: Added defaults for callback options. Fixed 4619 (Tabs doesn't define default for select option).
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.tabs.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index d05ec9001..83025120c 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -629,15 +629,22 @@ $.widget("ui.tabs", { $.extend($.ui.tabs, { version: '@VERSION', defaults: { + add: null, ajaxOptions: null, cache: false, cookie: null, // e.g. { expires: 7, path: '/', domain: 'jquery.com', secure: true } collapsible: false, + disable: null, disabled: [], + enable: null, event: 'click', fx: null, // e.g. { height: 'toggle', opacity: 'toggle', duration: 200 } idPrefix: 'ui-tabs-', + load: null, panelTemplate: '<div></div>', + remove: null, + select: null, + show: null, spinner: '<em>Loading…</em>', tabTemplate: '<li><a href="#{href}"><span>#{label}</span></a></li>' } |