Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
5dab7434
Commit
5dab7434
authored
Aug 04, 2016
by
Aaron Wells
Committed by
Gerrit Code Review
Aug 04, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1609142: Fix click event handler for contextual help"
parents
ade637b3
db34349f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
htdocs/js/mahara.js
htdocs/js/mahara.js
+2
-1
No files found.
htdocs/js/mahara.js
View file @
5dab7434
...
...
@@ -538,7 +538,7 @@ function contextualHelp(formName, helpName, pluginType, pluginName, page, sectio
function
buildContextualHelpBox
(
content
)
{
contextualHelpContainer
.
html
(
'
<div class="pull-right pts">
'
+
'
<a href="" class="help-dismiss">
'
+
'
<a href="" class="help-dismiss"
onclick="return false;"
>
'
+
'
<span class="icon icon-remove"></span>
'
+
'
<span class="sr-only">
'
+
get_string
(
'
closehelp
'
)
+
'
</span>
'
+
'
</a>
'
+
...
...
@@ -549,6 +549,7 @@ function buildContextualHelpBox(content) {
jQuery
(
'
#helpstop
'
).
click
(
function
(
e
)
{
if
(
e
.
target
.
nodeName
!=
"
A
"
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
}
});
contextualHelpContainer
.
find
(
'
.help-dismiss
'
).
focus
();
...
...
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