common.testWidget( "controlgroup", {
defaults: {
+ classes: {},
+ direction: "horizontal",
disabled: null,
items: {
"button": "input[type=button], input[type=submit], input[type=reset], button, a",
"spinner": ".ui-spinner-input",
"controlgroupLabel": ".ui-controlgroup-label"
},
- direction: "horizontal",
onlyVisible: true,
- classes: {},
// Callbacks
create: null
$( ".controlgroup" ).controlgroup().controlgroup( "destroy" );
} );
} );
+
test( "disable", function( assert ) {
expect( 2 );
var element = $( ".controlgroup" ).controlgroup().controlgroup( "disable" );
// remove the controlgroup before we start the next set
element.remove();
-
} );
} );
} );