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

b/web_client/src/gr/grnet/pithos/web/client/rest/PostCommand.java
34 34
 */
35 35
package gr.grnet.pithos.web.client.rest;
36 36

  
37
import gr.grnet.pithos.web.client.GSS;
37
import gr.grnet.pithos.web.client.Pithos;
38 38

  
39 39
import com.google.gwt.http.client.Request;
40 40
import com.google.gwt.http.client.RequestBuilder;
41 41
import com.google.gwt.http.client.RequestCallback;
42 42
import com.google.gwt.http.client.Response;
43 43

  
44

  
45 44
public abstract class PostCommand extends RestCommand{
46 45
	boolean complete = false;
47 46
	String postBody=null;
......
53 52
	public PostCommand(final String path, String data, final int okStatusCode, boolean showLoading) {
54 53
		setShowLoadingIndicator(showLoading);
55 54
		if(isShowLoadingIndicator())
56
			GSS.get().showLoadingIndicator("Updating ",path);
55
			Pithos.get().showLoadingIndicator("Updating ",path);
57 56

  
58 57
		RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, path);
59 58

  
......
100 99
		boolean com = isComplete();
101 100
		if (com) {
102 101
			if (isShowLoadingIndicator())
103
				GSS.get().hideLoadingIndicator();
102
				Pithos.get().hideLoadingIndicator();
104 103
			return false;
105 104
		}
106 105
		return true;

Also available in: Unified diff