Enabled dataset export on SDMX registry

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@144411 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-02-28 14:02:17 +00:00
parent a072a23b8d
commit 411ceba63e
2 changed files with 4 additions and 7 deletions

View File

@ -600,14 +600,13 @@ public class FileToolBar {
// importJSONButton.disable();
importSDMXButton.enable();
TRId trId = event.getTrId();
//|| trId
//.getTableTypeName().compareTo(
// TableType.DATASET.getTableTypeLabel()) == 0
if (trId != null
&& trId.getTableTypeName() != null
&& (trId.getTableTypeName().compareTo(
TableType.CODELIST.getTableTypeLabel()) == 0)) {
TableType.CODELIST.getTableTypeLabel()) == 0 || trId
.getTableTypeName().compareTo(
TableType.DATASET.getTableTypeLabel()) == 0)) {
exportSDMXButton.enable();
} else {
exportSDMXButton.disable();

View File

@ -29,7 +29,6 @@
.aui fieldset {
padding: 9px !important;
/* margin: 0; */
border: 1px solid rgb(181, 184, 200) !important;
}
@ -49,4 +48,3 @@