revert changes, update to latest node-pty

This commit is contained in:
Felipe Gasper
2017-10-29 15:34:23 -05:00
parent 9a8916ff77
commit 11c9dd3288
3 changed files with 4 additions and 9 deletions
+3 -3
View File
@@ -163,12 +163,12 @@ function zmodemHandleSendSession(zsession) {
choose_form.onsubmit = function(e) {
choose_form.style.display = "none";
var file_el = document.getElementById("zm_files");
var files_obj = file_el.files;
var fileEl = document.getElementById("zm_files");
var filesObj = fileEl.files;
Zmodem.Browser.send_files(
zsession,
files_obj
filesObj
).then(
zsession.close.bind(zsession),
console.error.bind(console)