Revision 3608dcd5

b/src/gr/grnet/pithos/web/client/Pithos.java
1342 1342
		fileList.selectByUrl(selectedUrls);
1343 1343
	}
1344 1344
	
1345
	public void deleteAndCreateTrash() {
1346
		DeleteRequest delete = new DeleteRequest(getApiPath(), getUsername(), "/trash") {
1345
	public void emptyTrash() {
1346
		DeleteRequest delete = new DeleteRequest(getApiPath(), getUsername(), "/trash?delimiter=/") {
1347 1347
			
1348 1348
			@Override
1349 1349
			protected void onUnauthorized(Response response) {
......
1352 1352
			
1353 1353
			@Override
1354 1354
			public void onSuccess(Resource result) {
1355
				createTrashContainer(null);
1355
				updateTrash(true, null);
1356 1356
			}
1357 1357
			
1358 1358
			@Override
b/src/gr/grnet/pithos/web/client/commands/EmptyTrashCommand.java
70 70
		if (containerPanel != null)
71 71
			containerPanel.hide();
72 72
		
73
		app.deleteAndCreateTrash();
73
		app.emptyTrash();
74 74
	}
75 75
}

Also available in: Unified diff