From 852de35e3e7e3721f275e7b8d07e2a1786a75804 Mon Sep 17 00:00:00 2001 From: Tad Wang Date: Thu, 21 Jan 2016 13:02:23 +0800 Subject: [PATCH] fix term.js input error problem handler is undefined. --- templates/jlog/log_online.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/jlog/log_online.html b/templates/jlog/log_online.html index d934a125e..f82969156 100644 --- a/templates/jlog/log_online.html +++ b/templates/jlog/log_online.html @@ -146,9 +146,10 @@ var socket = new WebSocket(wsUri + '?file_path=' + file_path); var term = new Terminal({ - cols: 80, - rows: 24, - screenKeys: false + cols: 80, + rows: 24, + screenKeys: false, + handler: function(){return false} }); var tag = $('
');