Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
50401c41
Commit
50401c41
authored
Mar 15, 2018
by
Carsten Rose
Browse files
Merge branch 'punktetool'
parents
55b507f9
1c72066e
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Alert.js
View file @
50401c41
...
...
@@ -228,8 +228,12 @@ var QfqNS = QfqNS || {};
$alertContainer
=
this
.
makeAlertContainerSingleton
();
if
(
this
.
modal
)
{
this
.
$modalDiv
=
$
(
"
<div>
"
);
//this.$modalDiv.css('width', "100%");
//this.$modalDiv.css('height', Math.max(document.documentElement.clientHeight, window.innerHeight || 0));
$alertContainer
.
css
(
'
position
'
,
'
fixed
'
);
$alertContainer
.
css
(
'
left
'
,
0
);
$alertContainer
.
css
(
'
top
'
,
0
);
$alertContainer
.
css
(
'
background
'
,
'
rgba(0,0,0,0.5)
'
);
$alertContainer
.
css
(
'
width
'
,
"
100%
"
);
$alertContainer
.
css
(
'
height
'
,
Math
.
max
(
$
(
document
).
height
(),
$
(
window
).
height
())
+
"
px
"
);
}
if
(
this
.
messageTitle
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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