mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 16:35:10 +00:00
fix term.js input error problem
handler is undefined.
This commit is contained in:
@@ -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>');
|
||||
|
Reference in New Issue
Block a user