]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: added Selectenu to Dialog Widgets compound test
authorFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 21:38:50 +0000 (23:38 +0200)
committerFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 21:38:50 +0000 (23:38 +0200)
tests/visual/compound/dialog_widgets.html

index bc4777a56aebef50bf10acc70402cf3d753ca07b..67823d45337ea9be3f0703cc6d2f737be773e4e3 100644 (file)
@@ -22,6 +22,7 @@
        <script src="../../../ui/jquery.ui.slider.js"></script>
        <script src="../../../ui/jquery.ui.tabs.js"></script>
        <script src="../../../ui/jquery.ui.tooltip.js"></script>
+       <script src="../../../ui/jquery.ui.selectmenu.js"></script>
        <script>
        $(function() {
                $( "[title]" ).tooltip();
@@ -45,6 +46,7 @@
                        }
                });
                $( "#tabs" ).tabs();
+               $( '#select' ).selectmenu();
                $( "#dialog" ).dialog();
                $( "#dialog2" ).dialog({
                        autoOpen: false,
                <div id="tabs-1">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div>
                <div id="tabs-2">Phasellus mattis tincidunt nibh.</div>
                <div id="tabs-3">Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.</div>
-       </div>
+       </div>  
+       <select id="select">
+               <option>Slower</option>
+               <option>Slow</option>
+               <option>Medium</option>
+               <option>Fast</option>
+               <option>Faster</option>
+       </select>
+       </form>
 </div>
 <div id="dialog2">
        Yay, another dialog.