Commit a068803c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

test refactoring to match new code

parent b5925b35
......@@ -206,30 +206,6 @@ Helper.prototype.createLegendDiv = function() {
Helper.prototype.createOverlayTab = function() {
var result = document.createElement("div");
result.id = "overlayTab";
var generalOverlaysDiv = document.createElement("div");
generalOverlaysDiv.setAttribute("name", "generalOverlays");
result.appendChild(generalOverlaysDiv);
var generalOverlaysTabDiv = document.createElement("table");
generalOverlaysTabDiv.setAttribute("name", "generalOverlaysTab");
generalOverlaysDiv.appendChild(generalOverlaysTabDiv);
var customOverlaysDiv = document.createElement("div");
customOverlaysDiv.setAttribute("name", "customOverlays");
result.appendChild(customOverlaysDiv);
var customOverlaysTabDiv = document.createElement("table");
customOverlaysTabDiv.setAttribute("name", "customOverlaysTab");
customOverlaysDiv.appendChild(customOverlaysTabDiv);
var customOverlaysTitleDiv = document.createElement("h3");
customOverlaysTitleDiv.setAttribute("name", "customOverlaysTitle");
customOverlaysDiv.appendChild(customOverlaysTitleDiv);
var addButton = document.createElement("button");
addButton.setAttribute("name", "addOverlay");
customOverlaysDiv.appendChild(addButton);
return result;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment