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:
parent
a072a23b8d
commit
411ceba63e
|
@ -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();
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
.aui fieldset {
|
||||
padding: 9px !important;
|
||||
/* margin: 0; */
|
||||
border: 1px solid rgb(181, 184, 200) !important;
|
||||
}
|
||||
|
||||
|
@ -49,4 +48,3 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue