Skip to content
Snippets Groups Projects
Commit 8528c7b5 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

jsdoc fixed

parent 422e1cc0
No related branches found
No related tags found
2 merge requests!345Resolve "Genes annotations don't show",!344Resolve "Genome browser in submaps not working"
......@@ -285,8 +285,8 @@ EditGenomeDialog.prototype.createGeneMappingTabContent = function () {
}).then(function (param) {
if (param.status) {
return self.getServerConnector().removeReferenceGenomeGeneMapping({
mappingId: $(button).attr("data"),
genomeId: self.getReferenceGenome().getId()
mappingId: $(button).attr("data").toString(),
genomeId: self.getReferenceGenome().getId().toString()
}).then(function () {
return self.getServerConnector().getReferenceGenome({genomeId: self.getReferenceGenome().getId()});
}).then(function (referenceGenome) {
......@@ -516,6 +516,7 @@ EditGenomeDialog.prototype.init = function () {
var detailsTable = $("[name=detailsTable]", self.getElement())[0];
// noinspection JSCheckFunctionSignatures
$(detailsTable).DataTable({
columns: [{
title: "Name"
......@@ -531,6 +532,10 @@ EditGenomeDialog.prototype.init = function () {
return self.refresh();
};
/**
*
* @returns {Promise}
*/
EditGenomeDialog.prototype.refresh = function () {
var self = this;
......@@ -563,7 +568,9 @@ EditGenomeDialog.prototype.refresh = function () {
return self._fillOrganismSelect(genome);
};
/**
*
*/
EditGenomeDialog.prototype.destroy = function () {
var self = this;
var div = self.getElement();
......@@ -583,6 +590,9 @@ EditGenomeDialog.prototype.destroy = function () {
}
};
/**
*
*/
EditGenomeDialog.prototype.open = function () {
var self = this;
var div = self.getElement();
......@@ -603,6 +613,9 @@ EditGenomeDialog.prototype.open = function () {
$(div).dialog("open");
};
/**
*
*/
EditGenomeDialog.prototype.close = function () {
var self = this;
$(self.getElement()).dialog("close");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment