Revision 9539e23d src/gr/grnet/pithos/web/client/commands/AddUserCommand.java
b/src/gr/grnet/pithos/web/client/commands/AddUserCommand.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
import com.google.gwt.core.client.GWT; |
44 | 44 |
import com.google.gwt.core.client.Scheduler; |
45 |
import com.google.gwt.http.client.Response; |
|
45 | 46 |
import com.google.gwt.user.client.Command; |
46 | 47 |
import com.google.gwt.user.client.Window; |
47 | 48 |
import com.google.gwt.user.client.ui.PopupPanel; |
... | ... | |
90 | 91 |
else |
91 | 92 |
app.displayError("System error updating group:" + t.getMessage()); |
92 | 93 |
} |
94 |
|
|
95 |
@Override |
|
96 |
protected void onUnauthorized(Response response) { |
|
97 |
app.sessionExpired(); |
|
98 |
} |
|
93 | 99 |
}; |
94 | 100 |
updateGroup.setHeader("X-Auth-Token", app.getToken()); |
95 | 101 |
String groupMembers = ""; |
Also available in: Unified diff