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

glyph tab

parent a97a66fa
No related branches found
No related tags found
1 merge request!915Resolve "Add GLYPHS tab in Add project window"
Pipeline #13278 passed
...@@ -13,6 +13,8 @@ minerva (14.0.0~beta.0) unstable; urgency=low ...@@ -13,6 +13,8 @@ minerva (14.0.0~beta.0) unstable; urgency=low
* Small improvement: information about person who uploaded project is visible * Small improvement: information about person who uploaded project is visible
in list of projects (#927) in list of projects (#927)
* Small improvement: user role introduced in edit user dialog (#924) * 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 * Bug fix: work on FF Private Window mode could cause logout or raise an
error on when opening new tab with minerva (#892) error on when opening new tab with minerva (#892)
* Bug fix: fetching list of miRnas resulted sometimes in "Internal Server * Bug fix: fetching list of miRnas resulted sometimes in "Internal Server
......
...@@ -80,7 +80,6 @@ AddProjectDialog.prototype.createGui = function () { ...@@ -80,7 +80,6 @@ AddProjectDialog.prototype.createGui = function () {
content: self.createOverviewImagesTabContent(), content: self.createOverviewImagesTabContent(),
disabled: true disabled: true
}); });
}; };
/** /**
...@@ -573,7 +572,7 @@ AddProjectDialog.prototype._createGlyphsTable = function () { ...@@ -573,7 +572,7 @@ AddProjectDialog.prototype._createGlyphsTable = function () {
var data = []; var data = [];
for (var i = 0; i < entries.length; i++) { for (var i = 0; i < entries.length; i++) {
var entry = entries[i]; var entry = entries[i];
if (entry.getType() === "GLYPHS") { if (entry.getType() === "GLYPH") {
var row = []; var row = [];
row[0] = entry.getFilename(); row[0] = entry.getFilename();
data.push(row); data.push(row);
...@@ -1366,7 +1365,7 @@ AddProjectDialog.prototype.setZipFileContent = function (file) { ...@@ -1366,7 +1365,7 @@ AddProjectDialog.prototype.setZipFileContent = function (file) {
images++; images++;
} else if (entry.getType() === 'OVERLAY') { } else if (entry.getType() === 'OVERLAY') {
overlays++; overlays++;
} else if (entry.getType() === 'GLYPHS') { } else if (entry.getType() === 'GLYPH') {
glyphs++; glyphs++;
} }
} }
......
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