Fixed dropdown list may not open in tabbed view

Also made width consistent with other pages
This commit is contained in:
bergware
2016-06-06 00:17:18 +02:00
parent abf2cff609
commit 70bf213a8b

View File

@@ -218,8 +218,15 @@ function exitCode(form,key) {
$(function() {
var ctrl = "<span id='wait_eth0' class='status red' style='display:none;font-size:small;font-style:italic'>Please wait... configuring interfaces</span>";
var form = document.eth0_settings;
$('#bond0').dropdownchecklist({emptyText:'None', width:130});
$('#bridge0').dropdownchecklist({emptyText:'None', width:130});
<?if ($tabbed && !$disabled):?>
$('#tab1').bind({click:function(){
$('#bond0').dropdownchecklist('destroy').dropdownchecklist({emptyText:'None', width:131});
$('#bridge0').dropdownchecklist('destroy').dropdownchecklist({emptyText:'None', width:131});
checkBondingSettings(form,0);
}});
<?endif;?>
$('#bond0').dropdownchecklist({emptyText:'None', width:131});
$('#bridge0').dropdownchecklist({emptyText:'None', width:131});
checkBondingSettings(form,0);
checkBridgingSettings(form,0);
checkNetworkAccess(form,'eth0');