Sfoglia il codice sorgente

modifica campo numerico

master
Mattia Gosetto 4 anni fa
parent
commit
2cbad8ba85
  1. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  2. 10
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
##
build.namespace=portos_bo
build.number=3055
build.date=1620288346217
build.number=3056
build.date=1620632167966
build.auto.upgrade=true
##

10
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp

@ -98,7 +98,7 @@
</div>
</c:if>
<c:if test="<%= (intPratica.getTipoProcedura().equals(Constants.PROCEDURA_P7)) %>">
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="number" name="interventoVoceP7" style="display:inline-block;width:80px;" label="intervento-voce-b" />
<aui:input disabled="<%= disabledInput && !enabledByIntegrazione %>" type="text" name="interventoVoceP7" style="display:inline-block;width:80px;" label="intervento-voce-b" />
</c:if>
<div class="row row-padding-custom ">
<div class="col-xs-12">
@ -1023,4 +1023,12 @@ function checkCollaudoStatico(){
}
}
$("#<portlet:namespace/>interventoVoceP7").on("keypress keyup blur",function (event) {
if (event.which == 43){
return true;
}else if(event.which < 48 || event.which > 57){
event.preventDefault();
}
});
</script>

Caricamento…
Annulla
Salva