2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhemweb_uzsu.js: changed uzsuDropDown menu alignment. see forum: https://forum.fhem.de/index.php/topic,81798.0.html

git-svn-id: https://svn.fhem.de/fhem/trunk@15716 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2017-12-29 18:38:58 +00:00
parent a6f832f9f0
commit 2d8e6c40cd

View File

@ -63,6 +63,7 @@ FW_uzsuDropDownCreate(elName, devName, vArr, currVal, set, params, cmd)
var select = $(newEl).find("select");
select.selectmenu();
select.selectmenu( "option", "width", "auto" );
select.selectmenu( "option", "position", {collision: "flipfit"} );
select.selectmenu( { change: function( event, data ) {
if( cmd )
cmd(data.item.value);