Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Devrim Gunyel
core
Commits
82830773
Commit
82830773
authored
Jun 28, 2019
by
Piotr Gawron
Browse files
don't allow to add gene mapping if genome is not defined
parent
48e06673
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
82830773
minerva
(
13.1.1
)
stable
;
urgency
=
medium
*
Bug
fix
:
adding
gene
mapping
before
the
genome
caused
an
error
(#
835
)
--
Piotr
Gawron
<
piotr
.
gawron
@
uni
.
lu
>
Fri
,
28
Jun
2019
17
:
00
:
00
+
0200
minerva
(
13.1.0
)
stable
;
urgency
=
medium
*
Feature
:
annotators
are
more
flexible
-
you
can
define
set
of
input
and
outputs
used
by
annotator
(#
617
)
...
...
frontend-js/src/main/js/gui/admin/EditGenomeDialog.js
View file @
82830773
...
...
@@ -175,7 +175,8 @@ EditGenomeDialog.prototype.createGeneMappingTabContent = function () {
var
result
=
Functions
.
createElement
({
type
:
"
div
"
,
style
:
"
margin-top:10px;
"
style
:
"
margin-top:10px;
"
,
className
:
"
minerva-gene-mapping-tab
"
});
var
geneMappingTable
=
Functions
.
createElement
({
...
...
@@ -513,6 +514,10 @@ EditGenomeDialog.prototype.refresh = function () {
//it should be simplified, but I couldn't make it work
dataTable
.
clear
().
rows
.
add
(
data
).
page
(
page
).
draw
(
false
).
page
(
page
).
draw
(
false
);
if
(
self
.
isNew
())
{
guiUtils
.
disableTab
(
$
(
"
.minerva-gene-mapping-tab
"
,
self
.
getElement
())[
0
],
"
First add a genome to be able to add mapping
"
);
}
return
self
.
_fillOrganismSelect
(
genome
);
});
};
...
...
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