removed float left for go to dataset button
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@139841 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d7b7131227
commit
1431fe1e2f
|
@ -44,7 +44,6 @@ import com.github.gwtbootstrap.client.ui.constants.ControlGroupType;
|
|||
import com.github.gwtbootstrap.client.ui.resources.Bootstrap.Tabs;
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.SelectElement;
|
||||
import com.google.gwt.dom.client.Style.Float;
|
||||
import com.google.gwt.dom.client.Style.Unit;
|
||||
import com.google.gwt.event.dom.client.ChangeEvent;
|
||||
import com.google.gwt.event.dom.client.ChangeHandler;
|
||||
|
@ -902,7 +901,6 @@ public class CreateDatasetForm extends Composite{
|
|||
final String datasetUrl = createdDatasetBean.getSource();
|
||||
goToDatasetButtonPanel.setVisible(true);
|
||||
goToDatasetButton.setVisible(true);
|
||||
goToDatasetButton.getElement().getStyle().setFloat(Float.LEFT);
|
||||
goToDatasetButton.setText(
|
||||
(datasetUrl.length() > 100 ?
|
||||
datasetUrl.substring(0, 100) + "..." : datasetUrl)
|
||||
|
|
|
@ -11,7 +11,6 @@ import com.github.gwtbootstrap.client.ui.TextArea;
|
|||
import com.github.gwtbootstrap.client.ui.TextBox;
|
||||
import com.github.gwtbootstrap.client.ui.constants.AlertType;
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Style.Float;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.event.shared.HandlerManager;
|
||||
|
@ -65,7 +64,6 @@ public class AddResourceToDataset extends Composite{
|
|||
this.datasetId = datasetId;
|
||||
|
||||
this.datasetOrg = datasetOrg;
|
||||
goToDatasetButton.getElement().getStyle().setFloat(Float.LEFT);
|
||||
goToDatasetButton.setText(
|
||||
(datasetUrl.length() > 100 ?
|
||||
datasetUrl.substring(0, 100) + "..." : datasetUrl)
|
||||
|
@ -76,7 +74,6 @@ public class AddResourceToDataset extends Composite{
|
|||
@Override
|
||||
public void onClick(ClickEvent event) {
|
||||
Window.open(datasetUrl, "_blank", "");
|
||||
// Window.Location.assign(datasetUrl);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue