blob: 46002bdea7b9843e4519786694b3aecd81a319db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
* button_tickets.js
*/
(function($) {
module("button: tickets");
test("#5946 - buttonset should ignore buttons that are not :visible", function() {
$( "#radio01" ).next().wrap( "<div></div>" ).parent().hide();
var set = $( "#radio0" ).buttonset();
ok( set.find( "label:eq(0)" ).is( ".ui-button:not(.ui-corner-left)" ) );
ok( set.find( "label:eq(1)" ).is( ".ui-button.ui-corner-left" ) );
});
})(jQuery);
|