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
865eec58
Commit
865eec58
authored
Mar 15, 2018
by
bbaer
Browse files
modals are now blocking everything
parent
7e13b24e
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/Alert.js
View file @
865eec58
...
...
@@ -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