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
bf20d686
Commit
bf20d686
authored
Sep 14, 2015
by
Son Nguyen
Committed by
Gerrit Code Review
Sep 14, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1492666: Mistake with js function.apply()"
parents
25350dd7
316b2ab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
htdocs/js/mahara.js
htdocs/js/mahara.js
+1
-1
No files found.
htdocs/js/mahara.js
View file @
bf20d686
...
...
@@ -43,7 +43,7 @@ function get_string_ajax(str, section) {
if
(
typeof
(
strings
[
str
])
!==
'
undefined
'
)
{
// need to pass all the arguments except 'str'
// in case there are other %s variables
return
get_string
.
apply
(
str
,
[].
slice
.
call
(
arguments
,
2
)
);
return
get_string
.
apply
(
this
,
arguments
);
}
var
rnd
=
randString
(
10
);
...
...
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