diff --git a/pom.xml b/pom.xml index 97b13306f..70bdb40e7 100644 --- a/pom.xml +++ b/pom.xml @@ -173,7 +173,7 @@ org.json json - 20230227 + 20231013 org.apache.commons diff --git a/src/main/resources/static/js/gw.ssh.js b/src/main/resources/static/js/gw.ssh.js index e7e93a5c4..0cfc3ff3b 100644 --- a/src/main/resources/static/js/gw.ssh.js +++ b/src/main/resources/static/js/gw.ssh.js @@ -68,12 +68,6 @@ GW.ssh = { echo: function(content){ if(content!=null){ - - // if(content.indexOf("Warning: Websocket Channel is going to close")!=-1){ - - // console.error("The WebSocket is going to close.."); - - // } content = content.replace(/\n/g,'
') @@ -386,13 +380,6 @@ GW.ssh = { } -// $("#log-window").slideToggle(true); -// switchTab(document.getElementById("main-console-tab"), "main-console"); - // GW.general.switchTab("console"); - - // this.send("history_id:" + msg.history_id); - - // this.send("token:" + msg.token); //the websocket is still in connecting state if(msg.history_id.length==12) this.addlog("=======\nStart to execute Process " + msg.history_id); else @@ -402,24 +389,6 @@ GW.ssh = { openTerminal: function(token, terminal_div_id){ -// shell = $('#content').terminal(function (command, term) { -// -// send(command); -// -// }, { -// -// prompt: '['+user+'@'+host+': ~]# ', -// -// name: 'Geoweaver SSH on Web', -// -// scrollOnEcho: true, -// -// greetings: "SSH on Web started. Type 'exit' to quit. \nThis system is funded by National Science Foundation (https://nsf.gov)." -// -// } -// -// ); - } } \ No newline at end of file