2009-02-02 14:36:08 +00:00
|
|
|
/*
|
|
|
|
* tabs_defaults.js
|
|
|
|
*/
|
|
|
|
|
|
|
|
var tabs_defaults = {
|
2009-06-20 13:17:05 +00:00
|
|
|
add: null,
|
2009-02-03 13:37:54 +00:00
|
|
|
ajaxOptions: null,
|
|
|
|
cache: false,
|
|
|
|
collapsible: false,
|
2009-02-04 09:35:52 +00:00
|
|
|
cookie: null,
|
2009-06-20 13:17:05 +00:00
|
|
|
disable: null,
|
2011-02-06 19:49:42 +00:00
|
|
|
disabled: false,
|
2009-06-20 13:17:05 +00:00
|
|
|
enable: null,
|
2010-07-28 15:56:54 +00:00
|
|
|
event: "click",
|
2009-02-03 13:37:54 +00:00
|
|
|
fx: null,
|
2010-07-28 15:56:54 +00:00
|
|
|
idPrefix: "ui-tabs-",
|
2009-06-20 13:17:05 +00:00
|
|
|
load: null,
|
2010-07-28 15:56:54 +00:00
|
|
|
panelTemplate: "<div></div>",
|
2009-06-20 13:17:05 +00:00
|
|
|
remove: null,
|
|
|
|
select: null,
|
|
|
|
show: null,
|
2010-07-28 15:56:54 +00:00
|
|
|
spinner: "<em>Loading…</em>",
|
|
|
|
tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>"
|
2009-02-02 14:36:08 +00:00
|
|
|
};
|
|
|
|
|
2009-09-15 08:39:47 +00:00
|
|
|
// FAIL: falsy values break the cookie option
|
2010-07-28 15:56:54 +00:00
|
|
|
commonWidgetTests( "tabs", { defaults: tabs_defaults } );
|