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
|
@ -526,12 +526,13 @@ public class CreateDatasetForm extends Composite{
|
|||
|
||||
receivedBean.setCustomFields(customFieldsMap);
|
||||
|
||||
// alert
|
||||
alertOnCreate("Trying to create dataset, please wait", AlertType.INFO);
|
||||
|
||||
// invoke the create method
|
||||
createButton.setEnabled(false);
|
||||
goBackButton.setEnabled(false);
|
||||
|
||||
alertOnCreate("Trying to create dataset, please wait", AlertType.INFO);
|
||||
|
||||
ckanServices.createCKanDataset(receivedBean, isWorkspaceRequest, new AsyncCallback<DatasetMetadataBean>() {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue