Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
bd6c0144
Commit
bd6c0144
authored
Jun 21, 2019
by
Robert Lyon
Committed by
Gerrit Code Review
Jun 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1817326: Modal in a Modal popup problem" into 18.10_STABLE
parents
757ba5e6
cea4728f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
htdocs/artefact/resume/editgoalsandskills.php
htdocs/artefact/resume/editgoalsandskills.php
+9
-0
No files found.
htdocs/artefact/resume/editgoalsandskills.php
View file @
bd6c0144
...
...
@@ -124,6 +124,15 @@ $javascript = <<<EOF
function editgoalsandskills_callback(form, data) {
editgoalsandskills_filebrowser.callback(form, data);
};
$(function($) {
$('#page-modal').on('hidden.bs.modal', function (e) {
// check if the upload file modal is still visible and if so put the body class back to allow scrolling
if ($('#editgoalsandskills_filebrowser_upload_browse').hasClass('show')) {
$('body').addClass('modal-open');
}
});
});
EOF;
$smarty
=
smarty
(
array
(),
array
(),
array
(),
array
(
...
...
Write
Preview
Markdown
is supported
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