From 259b9f05e93da2319b4dd8e464410c52e94f8595 Mon Sep 17 00:00:00 2001 From: cpsdqs Date: Mon, 11 Sep 2017 18:22:37 +0200 Subject: [PATCH] Fix upload not working --- js/term.js | 4 ++++ pages/term.php | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/js/term.js b/js/term.js index aa634e3..a5078aa 100644 --- a/js/term.js +++ b/js/term.js @@ -77,6 +77,10 @@ window.termInit = function (labels, theme) { qs('#term-nav').insertBefore(button, qs('#term-nav').firstChild) } + window.openTermUpl = () => termUpload.open() + window.startTermUpl = () => termUpload.start() + window.closeTermUpl = () => termUpload.close() + // for debugging window.termScreen = screen window.conn = conn diff --git a/pages/term.php b/pages/term.php index 85de910..78cc9e8 100644 --- a/pages/term.php +++ b/pages/term.php @@ -33,8 +33,8 @@

-   -   +   +   Upload:
@@ -62,7 +62,7 @@