mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
register template kvm context ui fix (#2757)
On the 'Register Template From URL' screen, when a user selects the KVM option from the Hypervisor dropdown: 1) It incorrectly displays the 'Original XS Version is 6.1' checkbox. This checkbox should be hidden in the KVM context. 2) The 'Root Disk Controller' dropdown should display the default option of 'osdefault' instead of a blank default option.
This commit is contained in:
parent
38d0274eb4
commit
781d6bc051
@ -267,7 +267,7 @@
|
||||
$form.find('.form-item[rel=keyboardType]').hide();
|
||||
$form.find('.form-item[rel=xenserverToolsVersion61plus]').hide();
|
||||
$form.find('.form-item[rel=rootDiskControllerTypeKVM]').css('display', 'inline-block');
|
||||
$form.find('.form-item[rel=xenserverToolsVersion61plus]').css('display', 'inline-block');
|
||||
$('#label_root_disk_controller').prop('selectedIndex', 2);
|
||||
if (isAdmin()) {
|
||||
$form.find('.form-item[rel=directdownload]').css('display', 'inline-block');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user