Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
e725c5f1
Commit
e725c5f1
authored
Sep 17, 2019
by
Piotr Gawron
Browse files
link to comment from admin panel was broken
parent
e67888fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
e725c5f1
...
...
@@ -11,6 +11,7 @@ minerva (14.0.0~beta.2) unstable; urgency=low
*
Bug
fix
:
information
about
deprecated
column
is
more
clear
about
column
names
(#
838
)
*
Bug
fix
:
version
of
the
project
is
limited
to
20
characters
(#
951
)
*
Bug
fix
:
link
to
comment
on
map
from
admin
panel
was
broken
(#
941
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Mon
,
16
Sep
2019
21
:
00
:
00
+
0200
...
...
frontend-js/src/main/js/gui/admin/CommentsAdminPanel.js
View file @
e725c5f1
...
...
@@ -153,9 +153,9 @@ CommentsAdminPanel.prototype.commentToTableRow = function (comment, disable) {
"
&y=
"
+
comment
.
getCoordinates
().
y
+
"
&zoom=12
"
+
"
&comments=on
"
;
title
=
"
<a href='
"
+
commentLink
+
"
' target='
"
+
projectId
+
"
'>
"
+
comment
.
getTitle
()
+
"
</a>
"
;
title
=
"
<a href='
"
+
commentLink
+
"
' target='
"
+
projectId
+
"
'>
"
+
xss
(
comment
.
getTitle
()
)
+
"
</a>
"
;
}
else
{
title
=
comment
.
getTitle
();
title
=
xss
(
comment
.
getTitle
()
)
;
}
var
disabled
=
""
;
...
...
@@ -180,7 +180,7 @@ CommentsAdminPanel.prototype.commentToTableRow = function (comment, disable) {
}
return
[
comment
.
getId
(),
xss
(
title
)
,
title
,
xss
(
author
),
xss
(
email
),
xss
(
comment
.
getContent
()),
...
...
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