From 07f17f5bf44baee8260bb4a2f92ea8df072841ae Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Thu, 6 Feb 2014 17:29:18 +0100 Subject: [PATCH] bug #2510: Fix error when changing between cluster and host in the scheduling tab of the template wizard --- src/sunstone/public/js/plugins/templates-tab.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 1d8503fd3f..78e1a0b82d 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -3677,15 +3677,11 @@ function add_schedulingTab(dialog) { $("input[name='req_select']").change(function(){ if ($("input[name='req_select']:checked").val() == "host_select") { $("div.host_select", $('li#schedulingTab', dialog)).toggle(); - $("div.host_select", $('li#schedulingTab', dialog)).addClass('vm_param'); $("div.cluster_select", $('li#schedulingTab', dialog)).hide(); - $("div.cluster_select", $('li#schedulingTab', dialog)).removeClass('vm_param'); } else { $("div.host_select", $('li#schedulingTab', dialog)).hide(); - $("div.host_select", $('li#schedulingTab', dialog)).removeClass('vm_param'); $("div.cluster_select", $('li#schedulingTab', dialog)).toggle(); - $("div.cluster_select", $('li#schedulingTab', dialog)).addClass('vm_param'); } });