Selectmenu: changed button to inline element

This commit is contained in:
Felix Nagel 2011-10-05 00:47:38 +02:00
parent 30ac35afb1
commit d83f0b2de9
5 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,7 @@
<style>
form { margin: 100px 0 0 0 }
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow ul { height: 200px; overflow: auto; }
</style>

View File

@ -50,6 +50,7 @@
<style>
form { margin: 100px 0 0 0 }
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow ul { height: 200px; overflow: auto; }
</style>

View File

@ -38,6 +38,7 @@
<style>
form { margin: 20px 0 0 0 }
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow ul { height: 200px; overflow: auto; }
</style>

View File

@ -30,6 +30,7 @@
<style>
form { margin: 20px 0 0 0 }
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow ul { height: 200px; overflow: auto; }
</style>

View File

@ -109,7 +109,7 @@ $.widget( "ui.selectmenu", {
});
// wrap and insert new button
that.newelementWrap = $( '<div />' )
that.newelementWrap = $( '<span />' )
.append( that.newelement )
.insertAfter( that.element );
},