Revision f55cf326 web_client/src/gr/grnet/pithos/web/client/rest/resource/FolderResource.java

b/web_client/src/gr/grnet/pithos/web/client/rest/resource/FolderResource.java
36 36
package gr.grnet.pithos.web.client.rest.resource;
37 37

  
38 38
import gr.grnet.pithos.web.client.DisplayHelper;
39
import gr.grnet.pithos.web.client.GSS;
39
import gr.grnet.pithos.web.client.Pithos;
40 40
import gr.grnet.pithos.web.client.rest.MultipleGetCommand;
41 41
import gr.grnet.pithos.web.client.rest.MultipleGetCommand.Cached;
42 42

  
......
600 600
		else if(treeItem.getParentItem() == null){
601 601
			//this is the case when the user uses the browser's forward arrow to navigate through other's
602 602
			//shared folders and item.getParentItem is null only inside other's shared folder
603
			String apiPath = GSS.get().getApiPath();
603
			String apiPath = Pithos.get().getApiPath();
604 604
			String newPath = getParentURI().substring(apiPath.lastIndexOf("/"));
605 605
			constructedUri = constructedUri + "Files"+ newPath + getName();
606 606
			return constructedUri;

Also available in: Unified diff