|
|
|
@ -44,8 +44,16 @@ boolean enabledByIntegrazione = DelegheUtil.hasDelegaCompilazioneDomanda(user.ge
|
|
|
|
|
&& TipoIntegrazioneUtil.RICHIESTA_INTEGRAZIONE.equals(dettPratica.getTipoIntegrazione()); |
|
|
|
|
boolean isDisabled = disabledInput && !enabledByIntegrazione; |
|
|
|
|
boolean isNewVariante = ParamUtil.getBoolean(request, "isNewVariante"); |
|
|
|
|
boolean disableViarch = !dettPratica.getLavoriPubblici() && !dettPratica.getIntervFinPub(); |
|
|
|
|
|
|
|
|
|
String urlIframeMappe = MappeUtil.getUrlFe(request, dettPratica, comune, (disabledInput || isGeoEditable)); |
|
|
|
|
|
|
|
|
|
String hide1 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q1) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P1) ? "hideSection" : ""); |
|
|
|
|
String hide3 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q3) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P3) ? "hideSection" : ""); |
|
|
|
|
String hide8 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q8) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P8) ? "hideSection" : ""); |
|
|
|
|
String hide9 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q9) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P9) ? "hideSection" : ""); |
|
|
|
|
String hide10 = (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_Q10) || intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P10) ? "hideSection" : ""); |
|
|
|
|
|
|
|
|
|
%> |
|
|
|
|
<liferay-util:include page="/html/fascicolofe/navigator/header.jsp" servletContext="<%= application %>"> |
|
|
|
|
<liferay-util:param name="disabledInput" value="<%= String.valueOf(disabledInput) %>" /> |
|
|
|
@ -61,7 +69,7 @@ String urlIframeMappe = MappeUtil.getUrlFe(request, dettPratica, comune, (disabl
|
|
|
|
|
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" title="dett-principali"> |
|
|
|
|
<div class="container-fluid"> |
|
|
|
|
<div class="col-sm-12 col-md-12"> |
|
|
|
|
<div class="module-group group_dati_catastali"> |
|
|
|
|
<div class="module-group group_dati_catastali <%= hide1 %> <%= hide8 %> <%= hide10 %>"> |
|
|
|
|
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" |
|
|
|
|
title="Normativa"> |
|
|
|
|
<div class="row"> |
|
|
|
@ -97,135 +105,143 @@ String urlIframeMappe = MappeUtil.getUrlFe(request, dettPratica, comune, (disabl
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</c:if> |
|
|
|
|
<c:if test="<%= (intPratica.getTipoRichiesta() == Constants.LIEVE_ENTITA) %>"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="text" name="interventoVoceP7" style="display:inline-block;width:80px;" label="intervento-voce-p7" /> |
|
|
|
|
</c:if> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" |
|
|
|
|
name="lavoriPubblici" |
|
|
|
|
label="lavori-pubblici"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom altro_check"> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" name="intervFinPub" label="interv-fin-pub"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row altro_check"> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input type="textarea" name="intervFinPubDesc" disabled="<%=!dettPratica.getIntervFinPub() || disabledInput %>" label=""></aui:input> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom altro_check"> |
|
|
|
|
<div class="col-md-12 col-lg-12"> |
|
|
|
|
<h4><%= LanguageUtil.get(pageContext, "interv-no-viarch") %></h4> |
|
|
|
|
<div class="<%= hide9 %>"> |
|
|
|
|
<c:if test="<%= (intPratica.getTipoRichiesta() == Constants.LIEVE_ENTITA) %>"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="text" name="interventoVoceP7" style="display:inline-block;width:80px;" label="intervento-voce-p7" /> |
|
|
|
|
</c:if> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" |
|
|
|
|
name="lavoriPubblici" |
|
|
|
|
label="lavori-pubblici"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom altro_check"> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" name="intervFinPub" label="interv-fin-pub"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-12 col-lg-12" style="margin-left:20px;"> |
|
|
|
|
<aui:input disabled="<%= disabledInput %>" name="intervInAreaDiInteresse" label="interv-in-area-di-interesse"/> |
|
|
|
|
<aui:input disabled="<%= disabledInput %>" name="intervNonModificante" label="interv-non-modificante"/> |
|
|
|
|
<aui:input disabled="<%= disabledInput %>" name="intervNonAssoggettabile" label="interv-non-assoggettabile"/> |
|
|
|
|
<div class="row altro_check"> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input type="textarea" name="intervFinPubDesc" disabled="<%=!dettPratica.getIntervFinPub() || disabledInput %>" label=""></aui:input> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="normEsenteBollo" |
|
|
|
|
label="norm-esente-bollo"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="normEsenteSpese" |
|
|
|
|
label="norm-esente-spese"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12 col-sm-6"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" type="text" name="estremiPratCom" |
|
|
|
|
label="estremi-prat-com"/> |
|
|
|
|
<div class="row row-padding-custom altro_check excludeOther <%= hide3 %>" data-cont="viarch"> |
|
|
|
|
<div class="col-md-12 col-lg-12"> |
|
|
|
|
<h4><%= LanguageUtil.get(pageContext, "interv-no-viarch") %></h4> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-12 col-lg-12" style="margin-left:20px;"> |
|
|
|
|
<aui:input disabled="<%= disabledInput || disableViarch %>" name="intervInAreaDiInteresse" label="interv-in-area-di-interesse"/> |
|
|
|
|
<aui:input disabled="<%= disabledInput || disableViarch%>" name="intervNonModificante" label="interv-non-modificante"/> |
|
|
|
|
<aui:input disabled="<%= disabledInput || disableViarch %>" name="intervNonAssoggettabile" label="interv-non-assoggettabile"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="normEsenteBollo" |
|
|
|
|
label="norm-esente-bollo"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="normEsenteSpese" |
|
|
|
|
label="norm-esente-spese"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="normLavoriInProprio" |
|
|
|
|
label="norm-lavori-in-proprio"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="nominaImpresa" |
|
|
|
|
label="nomina-impresa"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="normLavoriNoDirettore" |
|
|
|
|
label="norm-lavori-no-direttore"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="nominaDirettoreLavori" |
|
|
|
|
label="nomina-direttore-lavori"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="noCollaudo" |
|
|
|
|
label="no-collaudo"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="collaudoStatico" |
|
|
|
|
label="collaudo-statico"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="nominaCollaudatore" |
|
|
|
|
label="nomina-collaudatore"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom" style="display:none;"> |
|
|
|
|
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="normArt3com3" label="" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-11"> |
|
|
|
|
<div class="container-regolamento"> |
|
|
|
|
<p style="display: inline;"><%= LanguageUtil.get(pageContext, "norm-art3com3") %>:</p> |
|
|
|
|
<ul style="padding-left:20px; list-style: initial;"> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_1") %>;</li> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_2") %>;</li> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_3") %>; </li> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_4") %>;</li> |
|
|
|
|
</ul> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12 col-sm-6"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" type="text" name="estremiPratCom" |
|
|
|
|
label="estremi-prat-com"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row row-padding-custom" style="display:none;"> |
|
|
|
|
<div class="col-xs-1"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="normArt3com4" label=""/> |
|
|
|
|
<div class="excludeOther" data-cont="impresa"> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="normLavoriInProprio" |
|
|
|
|
label="norm-lavori-in-proprio"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="nominaImpresa" |
|
|
|
|
label="nomina-impresa"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="excludeOther" data-cont="direttore_lavori"> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="normLavoriNoDirettore" |
|
|
|
|
label="norm-lavori-no-direttore"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="nominaDirettoreLavori" |
|
|
|
|
label="nomina-direttore-lavori"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="excludeOther" data-cont="collaudo"> |
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="noCollaudo" |
|
|
|
|
label="no-collaudo"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="collaudoStatico" |
|
|
|
|
label="collaudo-statico"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom "> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" |
|
|
|
|
name="nominaCollaudatore" |
|
|
|
|
label="nomina-collaudatore"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row row-padding-custom" style="display:none;"> |
|
|
|
|
<div class="col-xs-1 col-sm-1 col-md-1 col-lg-1"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="normArt3com3" label="" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-11"> |
|
|
|
|
<div class="container-regolamento"> |
|
|
|
|
<p style="display: inline;"><%= LanguageUtil.get(pageContext, "norm-art3com3") %>:</p> |
|
|
|
|
<ul style="padding-left:20px; list-style: initial;"> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_1") %>;</li> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_2") %>;</li> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_3") %>; </li> |
|
|
|
|
<li><%= LanguageUtil.get(pageContext, "norm-art3com3_4") %>;</li> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-11"> |
|
|
|
|
<div class="container-regolamento"> |
|
|
|
|
<p><%= LanguageUtil.get(pageContext, "norm-art3com4") %>:</p> |
|
|
|
|
<div class="row row-padding-custom" style="display:none;"> |
|
|
|
|
<div class="col-xs-1"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="normArt3com4" label=""/> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-11"> |
|
|
|
|
<div class="container-regolamento"> |
|
|
|
|
<p><%= LanguageUtil.get(pageContext, "norm-art3com4") %>:</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -296,7 +312,7 @@ function messageListener(event) {
|
|
|
|
|
<aui:row> |
|
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
|
<div class="container-fluid"> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="row <%= hide10 %>"> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%=disabledInput && !enabledByIntegrazione %>" name="descLongIntervento" |
|
|
|
|
label="desc-long-intervento"/> |
|
|
|
@ -328,7 +344,7 @@ function messageListener(event) {
|
|
|
|
|
disabled="<%= true %>" onClick="localize(true)" value="Localizza"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="row <%= hide1 %>"> |
|
|
|
|
<% |
|
|
|
|
String[] geolocalization = BeanParamUtil.getString(dettPratica, request, "localizzazioneGeografica","").split(Pattern.quote("|")); |
|
|
|
|
%> |
|
|
|
@ -352,7 +368,7 @@ function messageListener(event) {
|
|
|
|
|
</div> |
|
|
|
|
<div class="col-xs-12 col-md-6"> |
|
|
|
|
<div class="container-fluid"> |
|
|
|
|
<div class="row" style="margin-bottom:20px;"> |
|
|
|
|
<div class="row <%= hide1 %>" style="margin-bottom:20px;"> |
|
|
|
|
<div class="col-xs-12"> |
|
|
|
|
<aui:input disabled="<%= isDisabled %>" type="text" name="estremiCatastali" id="input_estremiCatastali" |
|
|
|
|
label="estremi-catastali"/> |
|
|
|
@ -405,8 +421,8 @@ function messageListener(event) {
|
|
|
|
|
</div> |
|
|
|
|
</div>--> |
|
|
|
|
|
|
|
|
|
<div class="col-sm-12 col-md-12"> |
|
|
|
|
<div class="module-group group_dati_catastali"> |
|
|
|
|
<div class="col-sm-12 col-md-12 "> |
|
|
|
|
<div class="module-group group_dati_catastali <%= hide1 %> <%= hide10 %>"> |
|
|
|
|
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" |
|
|
|
|
title="destinazione" id="destinazioneinazione"> |
|
|
|
|
<div class="container-fluid"> |
|
|
|
@ -534,7 +550,7 @@ function messageListener(event) {
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-sm-12 col-md-12"> |
|
|
|
|
<div class="module-group group_dp_sc_nr"> |
|
|
|
|
<div class="module-group group_dp_sc_nr <%= hide1 %> <%= hide10 %>"> |
|
|
|
|
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" |
|
|
|
|
title="dp-sc-ti" id="sistemi_costruttivi"> |
|
|
|
|
<div class="container-fluid" style="padding: 0;"> |
|
|
|
@ -553,7 +569,7 @@ function messageListener(event) {
|
|
|
|
|
<li> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="tcManutOrdStraord" label="tc-manut-ord-straord" id="tc-manut-ord-straord"/> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<li class="<%= hide8 %> <%= hide9 %>"> |
|
|
|
|
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" name="tcNoOpereEscavazione" label="tc-no-opere-escavazione" id="tc-no-opere-escavazione"/> |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
@ -575,7 +591,7 @@ function messageListener(event) {
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="col-sm-12 col-md-12"> |
|
|
|
|
<div class="module-group group_dati_catastali de__tipologia-costruttiva"> |
|
|
|
|
<div class="module-group group_dati_catastali de__tipologia-costruttiva <%= hide1 %> <%= hide10 %>"> |
|
|
|
|
<liferay-ui:panel extended="false" defaultState="open" collapsible="false" |
|
|
|
|
title="dp-sc-tc"> |
|
|
|
|
<div class="container-fluid desc_edificio-tipologia"> |
|
|
|
@ -854,14 +870,23 @@ $('#<portlet:namespace/>lavoriPubbliciCheckbox, #<portlet:namespace/>intervFinPu
|
|
|
|
|
$.each(toDisable, function(index, val) { |
|
|
|
|
$('#<portlet:namespace/>'+val+'Checkbox').attr('disabled', true).prop('disabled', true).prop('checked', false); |
|
|
|
|
}); |
|
|
|
|
$('.excludeOther[data-cont="viarch"] input[type="checkbox"]').removeAttr('disabled'); |
|
|
|
|
$('.excludeOther[data-cont="viarch"] input[type="checkbox"]').prop('disabled', false); |
|
|
|
|
} else { |
|
|
|
|
$.each(toDisable, function(index, val) { |
|
|
|
|
$('#<portlet:namespace/>'+val+'Checkbox').removeAttr('disabled'); |
|
|
|
|
$('#<portlet:namespace/>'+val+'Checkbox').prop('disabled', false); |
|
|
|
|
}); |
|
|
|
|
$('.excludeOther[data-cont="viarch"] input[type="checkbox"]').attr('disabled', true).prop('disabled', true).prop('checked', false); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$('.excludeOther input[type="checkbox"]').change(function (e) { |
|
|
|
|
var cont = $(this).parents('.excludeOther').data('cont'); |
|
|
|
|
$('.excludeOther[data-cont="'+cont+'"] input[type="checkbox"]').not(this).prop('checked', false).removeAttr('checked'); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$('#<portlet:namespace/>intervFinPubCheckbox').change(function () { |
|
|
|
|
var _this = $(this); |
|
|
|
|
if (_this.is(":checked")) { |
|
|
|
|