Commit 27966d3e authored by Piotr Gawron's avatar Piotr Gawron
Browse files

workaround for jquery dialog border

parent a125e227
Pipeline #2413 passed with stage
in 42 seconds
.idea/workspace.xml
.idea/jsLibraryMappings.xml
.idea/dictionaries/
.idea/dbnavigator.xml
/dist/
/coverage/
/node_modules/
......
This diff is collapsed.
......@@ -42,7 +42,7 @@ AddProjectDialog.prototype.createGui = function () {
type: "div",
name: "tabView",
className: "tabbable boxed parentTabs",
style: "position:absolute;top:40px;bottom:10px;left:10px;right:10px"
style: "position:absolute;top:10px;bottom:40px;left:10px;right:10px"
});
element.appendChild(tabDiv);
......@@ -63,6 +63,13 @@ AddProjectDialog.prototype.createGui = function () {
self.createOverlaysTab(tabMenuDiv, tabContentDiv);
self.createSubmapsTab(tabMenuDiv, tabContentDiv);
self.createOverviewImagesTab(tabMenuDiv, tabContentDiv);
$("a", tabMenuDiv).bind("click", function () {
//workaround for some css issues...
tabDiv.style.top = "40px";
tabDiv.style.bottom = "10px";
});
};
AddProjectDialog.prototype.createGeneralTab = function (tabMenuDiv, tabContentDiv) {
......@@ -85,6 +92,7 @@ AddProjectDialog.prototype.addTab = function (params) {
});
params.tabMenuDiv.appendChild(navLi);
var contentDiv = guiUtils.createTabContentObject({
id: params.id,
navigationObject: navLi,
......
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