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:
parent
4b42cccb65
commit
60e0d25507
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue