Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,15 @@ function cambioValor( Field )

var cantidad = FolderBarWnd.FldDataArr.length;

strValue = Field.value;
strValue = Field.getAttribute("value");

if (top.g_CopyFdr == 0){
FolderBarWnd.FldDataArr[cantidad] =
new FolderBarWnd.FldData( Field.getAttribute("FldId"), strValue, Field.name, Field.getAttribute("valueSust"));
}
/*Si estamos copiando un registro entonces no hay que meter en el array los campos vacios, solo los que tengan valor*/
else{
if (Field.value!=null && Field.value!="" && Field.getAttribute("FldId")!=null && Field.getAttribute("FldId")!=""){
if (Field.getAttribute("value")!=null && Field.getAttribute("value")!="" && Field.getAttribute("FldId")!=null && Field.getAttribute("FldId")!=""){
FolderBarWnd.FldDataArr[cantidad] =
new FolderBarWnd.FldData( Field.getAttribute("FldId"), strValue, Field.name, Field.getAttribute("valueSust"));
FolderBarWnd.FldDataArr[cantidad].valueSust = top.getSustValue(Field.getAttribute("FldId"), document.getElementById("FrmData"));
Expand Down Expand Up @@ -1567,4 +1567,4 @@ function changeValueRadioDocFisica(radio, idCampo){

//activamos el boton de guardar
top.Main.Folder.FolderBar.ActivateSave();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class FnmtCertReader implements IReaderCert {

final static String CADENA = "OU=FNMT Clase 2 CA, O=FNMT, C=ES";
final static String CADENA = "FNMT";
final static String CN_PERSONA_FISICA = "CN=NOMBRE ";
final static String CN_PERSONA_JURIDICA = "CN=ENTIDAD ";
final static String SEPARADOR = " - ";
Expand Down Expand Up @@ -82,7 +82,7 @@ public InfoCertificado getInfo(X509Certificate cert) {
}

public boolean isTypeOf(X509Certificate cert) {
return CADENA.equals(cert.getIssuerDN().toString());
return cert.getIssuerDN().toString().toLowerCase().contains(CADENA.toLowerCase());
}

}