mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-19 09:16:57 +00:00
fix term.js input error problem
handler is undefined.
This commit is contained in:
parent
6fbb387488
commit
852de35e3e
@ -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 = $('<div id="term" style="height:500px; overflow: auto;background-color: rgba(0, 0, 0, 0);border: none"></div>');
|
||||
|
Loading…
Reference in New Issue
Block a user