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

loading icon in export panel added

parent c0b93e17
No related branches found
No related tags found
3 merge requests!1612Resolve "allow fetching data by id",!1600Merge 16.3.0,!1599Resolve "Re-calculate number of publications displayed in Info tab"
......@@ -7,6 +7,7 @@ minerva (16.3.0) unstable; urgency=medium
Identifier (like in pathway WP2118)
* Small improvement: import from GPML parse information about Reactome
Pathway Identifier (like in pathway WP3165)
* Small improvement: LOADING icon when initializing export TAB added (#1839)
* Small improvement: allow to login to DAPI by press key Enter (#1853)
* Small improvement: link to home of API-docs in API-docs (#1779)
* Small improvement: provide server-side Stack Trace when reporting error
......
......@@ -8,6 +8,7 @@ var ValidationError = require('../../ValidationError');
var IdentifiedElement = require('../../map/data/IdentifiedElement');
var Functions = require('../../Functions');
var GuiConnector = require('../../GuiConnector');
// noinspection JSUnusedLocalSymbols
var logger = require('../../logger');
......@@ -47,6 +48,7 @@ ElementExportPanel.prototype.init = function () {
submapDiv.appendChild(self._createSelectSubmapDiv(self.getProject().getModels()));
element.appendChild(submapDiv);
element.appendChild(self._createSelectColumnDiv(self.getAllColumns()));
GuiConnector.showProcessing("LOADING...");
return self.getServerConnector().getProjectStatistics(self.getProject().getProjectId()).then(function (statistics) {
return self._createMiriamTypeDiv(statistics.getElementAnnotations());
}).then(function (div) {
......@@ -60,7 +62,7 @@ ElementExportPanel.prototype.init = function () {
element.appendChild(self._createDownloadButton());
}).then(function () {
$(window).trigger('resize');
});
}).finally(GuiConnector.hideProcessing);
};
/**
......
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