This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new 781d6bc  register template kvm context ui fix (#2757)
781d6bc is described below

commit 781d6bc0518be45a4feaaf428b0273fdc546fbff
Author: ernjvr <ern...@gmail.com>
AuthorDate: Fri Jul 20 09:16:23 2018 +0200

    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.
---
 ui/scripts/templates.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js
index d9d3af0..6dba18b 100755
--- a/ui/scripts/templates.js
+++ b/ui/scripts/templates.js
@@ -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');
                                                     }

Reply via email to