Dropdown checklist width alignment

This commit is contained in:
bergware
2016-05-29 11:21:52 +02:00
parent 5e85726295
commit ed506c3fc7
2 changed files with 3 additions and 3 deletions

View File

@@ -193,7 +193,7 @@ $(function() {
var form = document.eth0_settings;
<?if ($tabbed && !$disabled):?>
$('#tab1').bind({click:function(){
$('#bond0').dropdownchecklist('destroy').dropdownchecklist({emptyText:'None', width:130});
$('#bond0').dropdownchecklist('destroy').dropdownchecklist({emptyText:'None', width:131});
checkBondingSettings(form,true);
}});
<?endif;?>

View File

@@ -20,8 +20,8 @@ Icon="share-settings.png"
<script>
$(function() {
$("#s1").dropdownchecklist({emptyText:'All', width:300, explicitClose:'...close'});
$("#s2").dropdownchecklist({emptyText:'None', width:300, explicitClose:'...close'});
$("#s1").dropdownchecklist({emptyText:'All', width:131, explicitClose:'...close'});
$("#s2").dropdownchecklist({emptyText:'None', width:131, explicitClose:'...close'});
presetShare(document.share_settings);
});
// Simulate the original input field