Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
f927c359
Commit
f927c359
authored
Feb 08, 2019
by
Sascha Herzinger
Browse files
clear previous comment dialog before opening
parent
531febf6
Pipeline
#8657
passed with stage
in 8 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
f927c359
minerva
(
12.3.0
~
alpha
.0
)
unstable
;
urgency
=
low
*
Feature
:
added
current
username
next
to
logout
button
in
admin
panel
*
Improvement
:
New
comment
dialog
does
not
contain
content
of
previous
comment
dialog
minerva
(
12.2.0
~
beta
.0
)
unstable
;
urgency
=
medium
*
Feature
:
bug
report
utility
*
Small
improvement
:
JS
plugin
can
create
listener
that
is
triggered
on
...
...
frontend-js/src/main/js/gui/CommentDialog.js
View file @
f927c359
...
...
@@ -85,8 +85,9 @@ CommentDialog.prototype.open = function (identifiedElements) {
self
.
setEmail
(
user
.
getEmail
());
self
.
setName
(
user
.
getName
()
+
"
"
+
user
.
getSurname
());
}
$
(
self
.
getElement
()).
dialog
(
"
open
"
);
var
dialog
=
$
(
self
.
getElement
());
dialog
.
find
(
'
textarea
'
).
val
(
''
);
dialog
.
dialog
(
"
open
"
);
});
};
...
...
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