Skip to content

Commit

Permalink
add batch command execute function
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy201602 committed Jun 30, 2018
1 parent bc4854c commit 5e926de
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions templates/webterminal/batchcommandexecute.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,15 +423,6 @@
' </div>'
if ($("#"+id).length <= 0 ){
$("#terminal-container").append(html);
<!--var term = new Terminal({-->
<!--cols: size.cols,-->
<!--rows: size.rows,-->
<!--screenKeys: true,-->
<!--useStyle: true,-->
<!--cursorBlink: true, // Blink the terminal's cursor-->
<!--});-->
<!--term.open(document.getElementById(id), false);-->
<!--term.fit();-->
var ws_scheme = window.location.protocol == "https:" ? "wss" : "ws";
var ws_path = ws_scheme + '://' + window.location.host + '/batchexecute/';
make_terminal(document.getElementById(id), {rows: 40, cols: 90}, ws_path, ip, serverid);
Expand Down

0 comments on commit 5e926de

Please sign in to comment.