mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix VM select IP drop-down for PF/LB UI
This commit is contained in:
parent
e046364cce
commit
a48bf0969e
@ -474,7 +474,7 @@
|
||||
var $tr = data.$tr;
|
||||
var $td = $tr.find('td.first');
|
||||
var $select = $('<div></div>').addClass('subselect').append(
|
||||
$('<select></select>')
|
||||
$('<select>')
|
||||
).hide();
|
||||
var $selectionArea = $tr.find('td:last').find('input');
|
||||
|
||||
@ -500,14 +500,17 @@
|
||||
$option.append(item.description);
|
||||
$option.appendTo($select.find('select'));
|
||||
});
|
||||
|
||||
$select.show();
|
||||
} else {
|
||||
$select.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
$select.show();
|
||||
|
||||
if ($(this).is('input[type=radio]')) {
|
||||
$(this).closest('tr').siblings().find('input[type=radio]').change();
|
||||
}
|
||||
} else {
|
||||
$select.find('option').remove();
|
||||
$select.hide();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user