Tools can now be selected from URL
This commit is contained in:
		@@ -30,7 +30,14 @@ function init() {
 | 
				
			|||||||
    tools.set("mock", "tools/mock.html");
 | 
					    tools.set("mock", "tools/mock.html");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    changeActiveTools('XML');
 | 
					    changeActiveTools('XML');
 | 
				
			||||||
 | 
					    var toolUrl = window.location.search.substring(1);
 | 
				
			||||||
 | 
					    if (toolUrl == "")
 | 
				
			||||||
        loadLastPage();
 | 
					        loadLastPage();
 | 
				
			||||||
 | 
					    else if (tools.has(toolUrl))
 | 
				
			||||||
 | 
					        changeTool(toolUrl);
 | 
				
			||||||
 | 
					    else
 | 
				
			||||||
 | 
					        loadLastPage();
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user