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
minerva
core
Commits
c30ef233
Commit
c30ef233
authored
Sep 17, 2019
by
Piotr Gawron
Browse files
Merge branch '941-comment-hyperlink' into 'master'
Resolve "comment hyperlink not working" Closes
#941
See merge request
!939
parents
76a4a5f4
1bcb6bd3
Pipeline
#13961
passed with stage
in 14 minutes and 15 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
c30ef233
...
...
@@ -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
)
*
Bug
fix
:
hide
glyphs
tab
when
necessary
(#
949
)
--
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 @
c30ef233
...
...
@@ -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