Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@93519 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
37387080cc
commit
54f546f763
|
@ -8,6 +8,7 @@ import org.gcube.portlets.user.td.widgetcommonevent.client.event.RibbonEvent;
|
|||
import org.gcube.portlets.user.td.widgetcommonevent.client.event.UIStateEvent;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.type.RibbonType;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.client.type.UIStateType;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||
|
||||
import com.allen_sauer.gwt.log.client.Log;
|
||||
import com.google.gwt.dom.client.Element;
|
||||
|
@ -568,8 +569,8 @@ public class FileToolBar {
|
|||
importCSVButton.enable();
|
||||
importJSONButton.disable();
|
||||
importSDMXButton.enable();
|
||||
|
||||
if (event.getTrId().getTableType().compareTo("Codelist") == 0) {
|
||||
TRId trId=event.getTrId();
|
||||
if (trId!=null&& trId.getTableType()!=null && trId.getTableType().compareTo("Codelist") == 0) {
|
||||
exportSDMXButton.enable();
|
||||
} else {
|
||||
exportSDMXButton.disable();
|
||||
|
|
Loading…
Reference in New Issue