From b30d073d3ee03bdcf4ac8e709f51616a86fcb4e0 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Wed, 28 Aug 2019 16:16:54 +0200 Subject: [PATCH] glyph tab --- CHANGELOG | 2 ++ frontend-js/src/main/js/gui/admin/AddProjectDialog.js | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 65aa1b9b07..f61f09f476 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,8 @@ minerva (14.0.0~beta.0) unstable; urgency=low * Small improvement: information about person who uploaded project is visible in list of projects (#927) * Small improvement: user role introduced in edit user dialog (#924) + * Small improvement: tab with list of glyps is available when adding project + with glyphs (#925) * Bug fix: work on FF Private Window mode could cause logout or raise an error on when opening new tab with minerva (#892) * Bug fix: fetching list of miRnas resulted sometimes in "Internal Server diff --git a/frontend-js/src/main/js/gui/admin/AddProjectDialog.js b/frontend-js/src/main/js/gui/admin/AddProjectDialog.js index 59a57ee98b..d42a9bbf7d 100644 --- a/frontend-js/src/main/js/gui/admin/AddProjectDialog.js +++ b/frontend-js/src/main/js/gui/admin/AddProjectDialog.js @@ -80,7 +80,6 @@ AddProjectDialog.prototype.createGui = function () { content: self.createOverviewImagesTabContent(), disabled: true }); - }; /** @@ -573,7 +572,7 @@ AddProjectDialog.prototype._createGlyphsTable = function () { var data = []; for (var i = 0; i < entries.length; i++) { var entry = entries[i]; - if (entry.getType() === "GLYPHS") { + if (entry.getType() === "GLYPH") { var row = []; row[0] = entry.getFilename(); data.push(row); @@ -1366,7 +1365,7 @@ AddProjectDialog.prototype.setZipFileContent = function (file) { images++; } else if (entry.getType() === 'OVERLAY') { overlays++; - } else if (entry.getType() === 'GLYPHS') { + } else if (entry.getType() === 'GLYPH') { glyphs++; } } -- GitLab