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