From 50bc0711a5a2cc8d459daec00228a5aa8c97b457 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Thu, 26 Apr 2012 17:07:39 +0200 Subject: [PATCH] Feature #1256: Show graphics section in template creation for vmware --- src/sunstone/public/js/plugins/templates-tab.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 84be66f5fd..dcf42eb96c 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -435,31 +435,31 @@ var create_template_tmpl = '
\

'+tr("Add Graphics")+'

\
\
'+tr("Graphics")+'\ -
\ +
\ \ \ -
\ +
'+tr("VMware supports VNC only")+'
\
\ -
\ +
\ \ \
'+tr("IP to listen on")+'
\
\ -
\ +
\ \ \
'+tr("Port for the VNC server")+'
\
\ -
\ +
\ \ \
'+tr("Password for the VNC server")+'
\
\ -
\ +
\ \ \
'+tr("Keyboard configuration locale to use in the VNC display")+'
\ @@ -997,7 +997,6 @@ function setupCreateTemplateDialog(){ //hide non common sections $(section_inputs).hide(); - $(section_graphics).hide(); switch(ui.index){ case 0: @@ -1085,7 +1084,6 @@ function setupCreateTemplateDialog(){ $('input#TYPE', section_raw).val("kvm"); $(section_inputs).show(); - $(section_graphics).show(); }; // Using XEN wizard. @@ -1121,7 +1119,6 @@ function setupCreateTemplateDialog(){ $('select#BUS',section_disks).html(bus_opts); $('input#TYPE', section_raw).val("xen"); - $(section_graphics).show(); }; //VMWare wizard