From 4143bba89f0c53311e197a74aa5ee75267b25dc8 Mon Sep 17 00:00:00 2001 From: bwhitn Date: Sat, 1 Jul 2017 00:40:22 -0400 Subject: [PATCH] This adds the ability to move the file data from Utils.displayFilesAsHTML to the input. --- src/core/Utils.js | 7 +++++++ src/web/Manager.js | 1 + src/web/OutputWaiter.js | 10 ++++++++++ 3 files changed, 18 insertions(+) diff --git a/src/core/Utils.js b/src/core/Utils.js index 9011880f..4fd464cc 100755 --- a/src/core/Utils.js +++ b/src/core/Utils.js @@ -942,6 +942,12 @@ const Utils = { "aria-controls='collapse" + i + "' " + "title=\"Show/hide contents of '" + Utils.escapeHtml(file.fileName) + "'\">🔍"; + const hexFileData = Utils.byteArrayToHex(new Uint8Array(file.bytes)); + + const switchFileDataToInput = ""; + const html = "
" + "