SUPPORT-9339: Fix
This commit is contained in:
parent
9df894b78e
commit
ede5bf85a0
2 changed files with 7 additions and 2 deletions
|
|
@ -548,11 +548,13 @@ public class EmployeeInfoFileUploadService {
|
|||
.newDocumentBuilder()
|
||||
.parse(mchdFile.getInputStream());
|
||||
doc.getDocumentElement().normalize();
|
||||
Node node = doc.getElementsByTagNameNS("*", "СвДов").item(0);
|
||||
Node node = doc.getElementsByTagName("СвДов").item(0);
|
||||
if (node != null && node.getAttributes().getNamedItem("НомДовер") != null) {
|
||||
return node.getAttributes().getNamedItem("НомДовер").getNodeValue();
|
||||
}
|
||||
return null;
|
||||
else {
|
||||
throw new FileUploadException("Cannot parse mchd guid");
|
||||
}
|
||||
}
|
||||
|
||||
private boolean sendMessage(String message) {
|
||||
|
|
|
|||
|
|
@ -71,9 +71,12 @@ export class ErvuFileUploadWithAdditionalFiles extends ErvuFileUpload {
|
|||
.map(notUploadeditem => notUploadeditem.file.name)
|
||||
.join(', ')}.`);
|
||||
}
|
||||
this.fileInputEl.value = null;
|
||||
this.uploader.clearQueue();
|
||||
this.mchdFileUploadRef.uploader.clearQueue();
|
||||
this.mchdFileUploadRef.fileInputEl.value = null;
|
||||
this.signFileUploadRef.uploader.clearQueue();
|
||||
this.signFileUploadRef.fileInputEl.value = null;
|
||||
this.isDropZoneVisible = true;
|
||||
this.isFilesListVisible = true;
|
||||
this.isProgressBarVisible = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue