Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
27966d3e
Commit
27966d3e
authored
Oct 09, 2017
by
Piotr Gawron
Browse files
workaround for jquery dialog border
parent
a125e227
Pipeline
#2413
passed with stage
in 42 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
frontend-js/.gitignore
View file @
27966d3e
.idea/workspace.xml
.idea/jsLibraryMappings.xml
.idea/dictionaries/
.idea/dbnavigator.xml
/dist/
/coverage/
/node_modules/
...
...
frontend-js/package-lock.json
0 → 100644
View file @
27966d3e
This diff is collapsed.
Click to expand it.
frontend-js/src/main/js/gui/admin/AddProjectDialog.js
View file @
27966d3e
...
...
@@ -42,7 +42,7 @@ AddProjectDialog.prototype.createGui = function () {
type
:
"
div
"
,
name
:
"
tabView
"
,
className
:
"
tabbable boxed parentTabs
"
,
style
:
"
position:absolute;top:
4
0px;bottom:
1
0px;left:10px;right:10px
"
style
:
"
position:absolute;top:
1
0px;bottom:
4
0px;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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment