We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1fef48 commit 942b0c2Copy full SHA for 942b0c2
tests/unit/select/select_native.js
@@ -50,11 +50,19 @@
50
var select = $( "#native-refresh" ),
51
button = select.siblings( '.ui-btn-inner' ),
52
text = "foo";
53
-
+
54
same(button.text(), "default");
55
select.find( "option" ).remove(); //remove the loading message
56
select.append('<option value="1">' + text + '</option>');
57
select.selectmenu('refresh');
58
same(button.text(), text);
59
});
60
61
+ // issue 2424
62
+ test( "native selects should provide open and close as a no-op", function() {
63
+ // exception will prevent test success if undef
64
+ $( "#native-refresh" ).selectmenu( 'open' );
65
+ $( "#native-refresh" ).selectmenu( 'close' );
66
+ ok( true );
67
+ });
68
})(jQuery);
0 commit comments