aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-12-20 00:10:06 +0100
committerFelix Nagel <info@felixnagel.com>2012-12-20 00:10:06 +0100
commita787d52d4af712fb608e0e050d439db2cbc5550a (patch)
tree3429d12b197cdc4844bfb6b0c77896770b5aa90b /demos
parent2ab514fcd6bfe5911a5bc6e10404089effb1b922 (diff)
downloadjquery-ui-a787d52d4af712fb608e0e050d439db2cbc5550a.tar.gz
jquery-ui-a787d52d4af712fb608e0e050d439db2cbc5550a.zip
Selectmenu: make dropdown style default and remove option dropdown
Diffstat (limited to 'demos')
-rw-r--r--demos/selectmenu/custom_render.html8
-rw-r--r--demos/selectmenu/default.html4
2 files changed, 3 insertions, 9 deletions
diff --git a/demos/selectmenu/custom_render.html b/demos/selectmenu/custom_render.html
index 1aa563d61..c4fd2cd3b 100644
--- a/demos/selectmenu/custom_render.html
+++ b/demos/selectmenu/custom_render.html
@@ -38,14 +38,10 @@
}
});
- var files = $( "select#files" ).iconselectmenu({
- dropdown: false
- });
+ var files = $( "select#files" ).iconselectmenu();
files.iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons" );
- var filesB = $( "select#filesB" ).iconselectmenu({
- dropdown: false
- });
+ var filesB = $( "select#filesB" ).iconselectmenu();
filesB.iconselectmenu( "menuWidget" ).addClass( "ui-menu-icons customicons" );
var peopleA = $( "select#peopleA" ).iconselectmenu();
diff --git a/demos/selectmenu/default.html b/demos/selectmenu/default.html
index 824f89fa2..20a2c6bc8 100644
--- a/demos/selectmenu/default.html
+++ b/demos/selectmenu/default.html
@@ -17,9 +17,7 @@
$('#files').selectmenu();
- var withOverflow = $('#number').selectmenu({
- dropdown: false
- });
+ var withOverflow = $('#number').selectmenu();
withOverflow.selectmenu("menuWidget").addClass("overflow");
});
</script>