diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..11f9473de --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,22 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "Launch GeoweaverApplication", + "request": "launch", + "mainClass": "com.gw.GeoweaverApplication", + "projectName": "geoweaver" + }, + { + "type": "pwa-chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/src/main/resources/static/js/gw.host.js b/src/main/resources/static/js/gw.host.js index f216c858c..22a4595dc 100644 --- a/src/main/resources/static/js/gw.host.js +++ b/src/main/resources/static/js/gw.host.js @@ -659,7 +659,7 @@ GW.host = { }else{ - alert("Fail to open SSH session"); + alert("Username or Password is wrong or the server is not accessible"); } try{ @@ -669,7 +669,7 @@ GW.host = { }).fail(function(status){ - alert("Fail to open SSH session" + status); + alert("Username or Password is wrong or the server is not accessible" + status); $("#ssh-connect-btn").prop("disabled", false); @@ -737,7 +737,7 @@ GW.host = { }else{ - alert("Fail to open SSH session"); + alert("Username or Password is wrong or the server is not accessible"); GW.host.setCache(hostid, null); @@ -745,7 +745,7 @@ GW.host = { }).fail(function(status){ - alert("Fail to open SSH session" + status); + alert("Username or Password is wrong or the server is not accessible" + status); GW.host.setCache(hostid, null); //$("#ssh-connect-btn").prop("disabled", false);