We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fb62e commit a3b20baCopy full SHA for a3b20ba
example-multipleServers-pretty.html
@@ -48,8 +48,12 @@
48
}
49
function selectServer(){ //called after loading server list
50
s.selectServer(function(server){ //run server selection. When the server has been selected, display it in the UI
51
- I("startStopBtn").style.display=""; //show start/stop button again
52
- I("serverId").textContent=server.name; //show name of test server
+ if(server==null){
+ I("serverId").textContent="No servers available";
53
+ }else{
54
+ I("startStopBtn").style.display=""; //show start/stop button again
55
+ I("serverId").textContent=server.name; //show name of test server
56
+ }
57
});
58
59
function loadServers(){ //called when the page is fully loaded
0 commit comments