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
moodle
moodle
Commits
b3166c4d
Commit
b3166c4d
authored
Oct 01, 2021
by
jun
Browse files
Merge branch 'MDL-72449-master' of
git://github.com/andrewnicols/moodle
parents
b7adf3a5
dc3ecef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/javascript-static.js
View file @
b3166c4d
...
...
@@ -294,12 +294,12 @@ M.util.show_confirm_dialog = function(e, args) {
if
(
target
.
get
(
'
name
'
)
&&
target
.
get
(
'
value
'
))
{
targetform
.
append
(
'
<input type="hidden" name="
'
+
target
.
get
(
'
name
'
)
+
'
" value="
'
+
target
.
get
(
'
value
'
)
+
'
">
'
);
FormChangeChecker
.
markFormAsDirty
(
targetform
);
FormChangeChecker
.
markFormAsDirty
(
targetform
.
getDOMNode
()
);
}
targetform
.
submit
();
}
else
if
(
target
.
test
(
'
form
'
))
{
FormChangeChecker
.
markFormAsDirty
(
target
);
FormChangeChecker
.
markFormAsDirty
(
target
.
getDOMNode
()
);
target
.
submit
();
}
else
{
...
...
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