aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-06-20 13:17:05 +0000
committerScott González <scott.gonzalez@gmail.com>2009-06-20 13:17:05 +0000
commit82df8dbf533f2b44602e33c4201d7fe8475be919 (patch)
tree29af2d8ad1d9165798e30a80659200d181bb9002 /ui
parent3057d49b68d2d9750e694ca9711ea808f86d4618 (diff)
downloadjquery-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.js7
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&#8230;</em>',
tabTemplate: '<li><a href="#{href}"><span>#{label}</span></a></li>'
}