From f6e0bedca509f69f31526ed8adb0340cfb9c3bf1 Mon Sep 17 00:00:00 2001 From: Anaël Closson Date: Wed, 27 Sep 2017 11:17:21 +0200 Subject: Remove tab header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6c0fd3e46b3e7062521b0274cadae620719f0d4b Issue-ID: CLAMP-58 Signed-off-by: Anaël Closson --- .../partials/portfolios/tca_properties.html | 65 +--------------------- 1 file changed, 2 insertions(+), 63 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html index 7305fd91a..4c2957f8d 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/tca_properties.html @@ -155,12 +155,6 @@
-
- -
-
-
- - -
@@ -207,27 +196,7 @@
- -
- - -
- -
-
- -
- -
-
- -
- - -
+
@@ -300,28 +269,6 @@ $("#formId" + count + " #tuuid").val(tuuid); } - $("#add_one_more").click(function(event) { - event.preventDefault(); - if ($("#nav_Tabs li.active").length>0){ - var oldCount = $("#nav_Tabs li.active").find("a").attr("id").slice(-1); - if (($('#formId'+oldCount+' #tcaTable .highlight').length > 0 ) && - (!($('#formId'+oldCount+' #threshold').val()) || !($('#formId'+oldCount+' #fieldPathM').val())) ) { - $('#formId'+oldCount+' #tcaError').show(); - return; - } else { - $('#formId'+oldCount+' .tcaErr').hide(); - if ($('#formId'+oldCount+' #tcaTable .highlight').length > 0){ - $('#formId'+oldCount+' #tcaTable .highlight td').text( - $('#formId'+oldCount+' #fieldPathM').val() + ' ' + - $('#formId'+oldCount+' #operator').val() + ' ' + - $('#formId'+oldCount+' #threshold').val()); - } - $("#formId"+oldCount+" #tcaTable .highlight").removeClass("highlight") - } - } - var count = add_one_more(); - generateTUUID(count); - }) loadPropertyWindow("tca"); //load dropdown with policy options @@ -365,18 +312,12 @@ if (arr !== undefined) { for (var x in arr){ var num = add_one_more(); - var setCheck = true; for (var i=0; i< arr[x].length; i++){ - if (arr[x][i].name=='tcaEnab'){ - $("#formId" + num + " #tcaEnab").prop("checked","true"); - setCheck = false; - } if (arr[x][i].hasOwnProperty('serviceConfigurations')){ for (var j=0; j" +arr[x][i]["serviceConfigurations"][j][0]+" " - //+(defaults_props['tca']['operator']).getKey(arr[x][i]["serviceConfigurations"][j][1])+" " +(Object.keys(defaults_props['tca']['operator']).find(key => defaults_props['tca']['operator'][key] == (arr[x][i]["serviceConfigurations"][j][1])))+ " " +arr[x][i]["serviceConfigurations"][j][2]+""); } @@ -384,9 +325,6 @@ $("#formId" + num + " #"+arr[x][i].name).val(arr[x][i].value); } } - if (setCheck){ - $("#formId" + num + " #tcaEnab").prop("checked",false); - } $('#go_properties_tab'+num).text($('#formId' +num+ ' #tname').val()); $("#formId"+num + " #properties_tab").hide(); } @@ -489,6 +427,7 @@ var form=$($("#formSpan").children()[0]).clone(); var count=0; if($(".formId").length>0){ + debugger; var greatest=0; var s=$(".formId"); for(var i=0;i