Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
888aef55
Commit
888aef55
authored
Oct 01, 2011
by
stef
Browse files
[fix] for #12
parent
c991ba7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/view.html
View file @
888aef55
...
...
@@ -27,7 +27,8 @@ function bindPostCommentHandler() {
bindPostCommentHandler
();
},
error
:
function
(
XMLHttpRequest
,
textStatus
,
errorThrown
)
{
$
(
'
#comment_form form
'
).
replaceWith
(
'
{% trans "Your comment was unable to be posted at this time. We apologise for the inconvenience." %}
'
);
{
%
trans
"
Your comment was unable to be posted at this time. We apologise for the inconvenience.
"
as
msg
%
}
$
(
'
#comment_form form
'
).
replaceWith
(
'
{{msg|addslashes}}
'
);
}
});
return
false
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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