Skip to content
Browse files

Selectmenu: add refresh method to visual test

  • Loading branch information...
1 parent 27049fc commit 08de75cbec6f676bf2a9f96867c5e1df44d7d759 @fnagel fnagel committed Jan 20, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/visual/selectmenu/methods.html
View
8 tests/visual/selectmenu/methods.html
@@ -32,6 +32,11 @@
mySelectmenu.selectmenu("refresh");
});
+ $("#refresh").click( function() {
+ mySelectmenu.selectmenu("refresh");
+ return false;
+ });
+
$("#open").click( function() {
mySelectmenu.selectmenu("open");
return false;
@@ -69,7 +74,8 @@
</form>
<br />
<button id="destroy">Destroy</button>
-<button id="refresh_add">Add item and refresh</button>
+<button id="refresh_add">Add item</button>
+<button id="refresh">Refresh</button>
<button id="refresh_selected">Change to first item</button>
<button id="open">Open</button>
<button id="close">Close</button>

0 comments on commit 08de75c

Please sign in to comment.
Something went wrong with that request. Please try again.