Revision 749068ba src/gr/grnet/pithos/web/client/PermissionsAddDialog.java

b/src/gr/grnet/pithos/web/client/PermissionsAddDialog.java
200 200
			selectedUser = suggestBox.getText();
201 201
			for(PermissionHolder p : permList.permissions)
202 202
				if (selectedUser.equals(p.getUser())){
203
					GSS.get().displayError("User already has access to the resource");
203
					Pithos.get().displayError("User already has access to the resource");
204 204
					return;
205 205
				}
206 206
			perm.setUser(selectedUser);
......
214 214
				return;
215 215
			for(PermissionHolder p : permList.permissions)
216 216
				if (selected.getName().equals(p.getGroup())){
217
					GSS.get().displayError("Group already has access to the resource");
217
					Pithos.get().displayError("Group already has access to the resource");
218 218
					return;
219 219
				}
220 220
			perm.setGroup(selected.getName());
......
261 261
	 * Update the list of suggestions.
262 262
	 */
263 263
	protected void updateSuggestions() {
264
		final GSS app = GSS.get();
264
		final Pithos app = Pithos.get();
265 265
		String query = selectedUser.substring(0, selectedUser.length()-1);
266 266
		GWT.log("Searching for " + query, null);
267 267

  

Also available in: Unified diff