aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 22:09:57 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:56 -0400
commit3064793d5b2be1761f521cf09d2b94f7f6e49ff5 (patch)
tree46e28770f239f783b92cc0035258719b0b4a4acd /tests
parent35ef105430e1c3295cd18841ce2cf2a79b26d69a (diff)
downloadjquery-ui-3064793d5b2be1761f521cf09d2b94f7f6e49ff5.tar.gz
jquery-ui-3064793d5b2be1761f521cf09d2b94f7f6e49ff5.zip
Selectmenu: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/selectmenu/selectmenu.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/visual/selectmenu/selectmenu.html b/tests/visual/selectmenu/selectmenu.html
index 5ccfc8f63..f91894710 100644
--- a/tests/visual/selectmenu/selectmenu.html
+++ b/tests/visual/selectmenu/selectmenu.html
@@ -34,34 +34,34 @@
});
eventsSelectmenu.show();
- $("#destroy").click( function() {
+ $("#destroy").on( "click", function() {
eventsSelectmenu.selectmenu("destroy");
return false;
});
- $("#refresh_add").click( function() {
+ $("#refresh_add").on( "click", function() {
eventsSelectmenu.append('<option value="fastsound">Speed of light</option>');
eventsSelectmenu.selectmenu("refresh");
return false;
});
- $("#refresh_selected").click( function() {
+ $("#refresh_selected").on( "click", function() {
eventsSelectmenu[0].selectedIndex = 0;
eventsSelectmenu.selectmenu("refresh");
return false;
});
- $("#refresh").click( function() {
+ $("#refresh").on( "click", function() {
eventsSelectmenu.selectmenu("refresh");
return false;
});
- $("#open").click( function() {
+ $("#open").on( "click", function() {
eventsSelectmenu.selectmenu("open");
return false;
});
- $("#close").click( function() {
+ $("#close").on( "click", function() {
eventsSelectmenu.selectmenu("close");
return false;
});
@@ -70,7 +70,7 @@
$('#disabled1, #disabled2, #disabled3').selectmenu();
var disabled4 = $('#disabled4').selectmenu();
- $("#disable_select").bind("click", function() {
+ $("#disable_select").on("click", function() {
if (disable_select) {
disable_select = false;
disabled4.selectmenu("disable");
@@ -82,7 +82,7 @@
return false;
});
- $("#disable_option").bind("click", function() {
+ $("#disable_option").on("click", function() {
if (disable_option) {
disable_option = false;
disabled4.find("option:eq(0)").attr("disabled", "disabled");
@@ -94,7 +94,7 @@
return false;
});
- $("#disable_optgroup").bind("click", function() {
+ $("#disable_optgroup").on("click", function() {
if (disable_optgroup) {
disable_optgroup = false;
disabled4.find("optgroup:eq(0)").attr("disabled", "disabled");