From 855ca3fdce6d5104fc7ddfe684e4578bba3c0dac Mon Sep 17 00:00:00 2001 From: stepanzharychevbroadcom Date: Thu, 5 Mar 2020 16:16:51 +0100 Subject: [PATCH] Added saving of state for USS file during refreshing. Signed-off-by: stepanzharychevbroadcom --- src/ZoweUSSNode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ZoweUSSNode.ts b/src/ZoweUSSNode.ts index 072dad17e5..227c0a1270 100644 --- a/src/ZoweUSSNode.ts +++ b/src/ZoweUSSNode.ts @@ -497,6 +497,7 @@ export class ZoweUSSNode extends ZoweTreeNode implements IZoweUSSTreeNode { if ((isDirty && !this.isDirtyInEditor && !wasSaved) || !isDirty) { const response = await ZoweExplorerApiRegister.getUssApi(this.getProfile()).getContents(this.fullPath, { file: ussDocumentFilePath, + binary: this.binary, returnEtag: true }); this.setEtag(response.apiResponse.etag);