X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fresources%2FMETA-INF%2Fresources%2Fdesigner%2Fpartials%2Fportfolios%2FPolicyWindow_properties.html;h=3a894c286e92b90e3a989d2d5500361093bccfd7;hb=ae5dce00beb6cdd61f28b566479d6111b3f8ada2;hp=7f4dafdbbebb9bc682c6193535d356c786d61878;hpb=f744247f2b725152d4959eb6fe4cb59d9d7223d7;p=clamp.git diff --git a/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html b/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html index 7f4dafdb..3a894c28 100644 --- a/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html +++ b/src/main/resources/META-INF/resources/designer/partials/portfolios/PolicyWindow_properties.html @@ -554,7 +554,7 @@ label { $("#formId" + count).append(form); $(".formId").not($("#formId" + count)).css("display", "none") addCustListen(count) - //addTabListen(count) + addSelectListen(count); // This is for when the process is not loading from map but being created if(!loadingId){ @@ -602,27 +602,7 @@ label { $("#add_one_more").click(); } - - - //listener will change the tab name to the recipe - function addTabListen(count){ - - // disable parentPolicyConditions when a parentPolicy is not selected - //don't think this is used.. - /* $("#formId"+count+" #parentPolicy").on("change",function(){ - if($("#formId"+count+" #parentPolicy").val().toString()==""){ - // deselect all options - $("#formId"+count+" #parentPolicyConditions option:selected").prop("selected", false); - // disable the select box - $("#formId"+count+" #parentPolicyConditions").multiselect("disable"); - - } else { - $("#formId"+count+" #parentPolicyConditions").multiselect("enable"); - - } - }); */ - } - + function addCustListen(count) { $('#go_properties_tab' + count).click(function(event) { $("#nav_Tabs li").removeClass("active");