Fix on create dataset button freeze
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129101 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
aaae6ab5c3
commit
0ded532dde
|
@ -525,13 +525,14 @@ public class CreateDatasetForm extends Composite{
|
||||||
}
|
}
|
||||||
|
|
||||||
receivedBean.setCustomFields(customFieldsMap);
|
receivedBean.setCustomFields(customFieldsMap);
|
||||||
|
|
||||||
|
// alert
|
||||||
|
alertOnCreate("Trying to create dataset, please wait", AlertType.INFO);
|
||||||
|
|
||||||
// invoke the create method
|
// invoke the create method
|
||||||
createButton.setEnabled(false);
|
createButton.setEnabled(false);
|
||||||
goBackButton.setEnabled(false);
|
goBackButton.setEnabled(false);
|
||||||
|
|
||||||
alertOnCreate("Trying to create dataset, please wait", AlertType.INFO);
|
|
||||||
|
|
||||||
ckanServices.createCKanDataset(receivedBean, isWorkspaceRequest, new AsyncCallback<DatasetMetadataBean>() {
|
ckanServices.createCKanDataset(receivedBean, isWorkspaceRequest, new AsyncCallback<DatasetMetadataBean>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue