Skip to content

Commit

Permalink
initial fix for document upload problems (#1599)
Browse files Browse the repository at this point in the history
* initial fix for document upload problems

* Candidate fix for EXUI-908

* Update the other version number

* changed read me

---------

Co-authored-by: RiteshHMCTS <[email protected]>
Co-authored-by: Ritesh Dsouza <[email protected]>
  • Loading branch information
3 people authored Nov 9, 2023
1 parent 250e3fe commit 9abf665
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
4 changes: 4 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## RELEASE NOTES

### Version 6.19.13
**EXUI-908** Unable to upload correspondence to Manage Cases

### Version 6.19.11-case-file-view-feature-toggle-v1.1
**EUI-7807** Case file view v1.1

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "6.19.12-rc3",
"version": "6.19.13",
"engines": {
"yarn": "^3.5.0",
"npm": "^8.10.0"
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "6.19.12-rc3",
"version": "6.19.13",
"engines": {
"yarn": "^3.5.0",
"npm": "^8.10.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, ElementRef, HostListener, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';
import { FormControl, FormGroup, Validators } from '@angular/forms';
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
import { Subscription } from 'rxjs';
Expand Down Expand Up @@ -60,17 +60,6 @@ export class WriteDocumentFieldComponent extends AbstractFieldWriteComponent imp
super();
}

@HostListener('document:click', ['$event'])
public clickout(event) {
// Capturing the event of the associated ElementRef <input type="file" #fileInpu

if (this.fileInput.nativeElement.contains(event.target)) {
this.clickInsideTheDocument = true;
} else {
this.fileValidations();
}
}

public ngOnInit(): void {
this.secureModeOn = this.appConfig.getDocumentSecureMode();
if (this.secureModeOn) {
Expand Down

0 comments on commit 9abf665

Please sign in to comment.