|
|
|
@ -188,6 +188,13 @@
|
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" type="text" name="estremiPratCom" |
|
|
|
|
label="estremi-prat-com"/> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> |
|
|
|
@ -291,10 +298,6 @@
|
|
|
|
|
</div> |
|
|
|
|
--> |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" type="text" name="estremiPratCom" |
|
|
|
|
label="estremi-prat-com"/> |
|
|
|
|
</div> |
|
|
|
|
<c:if test='<%= Validator.isNotNull(dettPratica.getEstremiCatastali()) %>'> |
|
|
|
|
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"> |
|
|
|
|
<aui:input disabled="<%=disabledInput %>" type="text" name="estremiCatastali" |
|
|
|
@ -864,6 +867,39 @@ $('#destinazioneinazione input[type="radio"]').on('click', function(){
|
|
|
|
|
</script> |
|
|
|
|
<!-- ADT BUG FE ID = 23 --> |
|
|
|
|
<script type="text/javascript" > |
|
|
|
|
|
|
|
|
|
$('#<portlet:namespace/>lavoriPubbliciCheckbox, #<portlet:namespace/>intervFinPubCheckbox').change(function () { |
|
|
|
|
var _this = $(this); |
|
|
|
|
var toDisable = [ |
|
|
|
|
'tc-nuova-costruzione-pertinenza', |
|
|
|
|
'tc-costruzioni-esistenti', |
|
|
|
|
'tc-manut-ord-rest-dem', |
|
|
|
|
'tc-intervento-opere-escavazione', |
|
|
|
|
'tcAltriInterventi' |
|
|
|
|
]; |
|
|
|
|
if (_this.is(":checked")){ |
|
|
|
|
$.each(toDisable, function(index, val) { |
|
|
|
|
$('#<portlet:namespace/>'+val+'Checkbox').attr('disabled', true).prop('disabled', true).prop('checked', false); |
|
|
|
|
}); |
|
|
|
|
}else{ |
|
|
|
|
$.each(toDisable, function(index, val) { |
|
|
|
|
$('#<portlet:namespace/>'+val+'Checkbox').removeAttr('disabled'); |
|
|
|
|
$('#<portlet:namespace/>'+val+'Checkbox').prop('disabled', false); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$('#<portlet:namespace/>tc-manut-ord-rest-demCheckbox').change(function () { |
|
|
|
|
var _this = $(this); |
|
|
|
|
if (_this.is(":checked")){ |
|
|
|
|
$('#<portlet:namespace/>tc-costruzioni-esistentiCheckbox').prop('checked', true).attr('checked', true); |
|
|
|
|
}else{ |
|
|
|
|
$('#<portlet:namespace/>tc-costruzioni-esistentiCheckbox').prop('checked', false).attr('checked', false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$('#<portlet:namespace/>collaudoStaticoCheckbox').change(function () { |
|
|
|
|
var _this = $(this); |
|
|
|
|
if (_this.is(":checked")){ |
|
|
|
|