goDataset changed to path in order to redirect the user to the just created dataset

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129236 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-06-21 16:15:02 +00:00
parent 4b42cccb65
commit 60e0d25507
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public class AddResourceToDataset extends Composite{
return;
String finalPart = datasetUrl.substring(datasetIndex);
String finalPath = currentPath + "?" + "goDataset" + "=" + finalPart;
String finalPath = currentPath + "?" + "path" + "=" + finalPart;
Window.Location.assign(finalPath);
}
});

View File

@ -561,7 +561,7 @@ public class CreateDatasetForm extends Composite{
return;
String finalPart = datasetUrl.substring(datasetIndex);
String finalPath = currentPath + "?" + "goDataset" + "=" + finalPart;
String finalPath = currentPath + "?" + "path" + "=" + finalPart;
Window.Location.assign(finalPath);
}
});