Revision 6e6e914e src/gr/ebs/gss/client/SearchResults.java

b/src/gr/ebs/gss/client/SearchResults.java
220 220
			@Override
221 221
			public void onClick(ClickEvent event) {
222 222
				Cell cell = table.getCellForEvent(event);
223
				onCellClicked(cell.getRowIndex(), cell.getCellIndex());
224

  
223
				onRowClicked(cell.getRowIndex());
225 224
			}
226 225
		});
227 226

  
......
289 288
		return DONE;
290 289
	}
291 290

  
292
	public void onCellClicked( int row, int cell) {
291
	public void onRowClicked(int row) {
293 292
		// Select the row that was clicked (-1 to account for header row).
294 293
		if (row > folderFileCount)
295 294
			return;
......
504 503
							ownerLabel.setHTML("Owner " + descPrototype.getHTML());
505 504
							return arg0.getOwner().compareTo(arg1.getOwner());
506 505
						} else if (sortingProperty.equals("date")) {
507
							dateLabel.setHTML("Date modified " + descPrototype.getHTML());
506
							dateLabel.setHTML("Last modified " + descPrototype.getHTML());
508 507
							return arg0.getModificationDate().compareTo(arg1.getModificationDate());
509 508
						} else if (sortingProperty.equals("size")) {
510 509
							sizeLabel.setHTML("Size " + descPrototype.getHTML());
......
526 525
						ownerLabel.setHTML("Owner " + ascPrototype.getHTML());
527 526
						return arg1.getOwner().compareTo(arg0.getOwner());
528 527
					} else if (sortingProperty.equals("date")) {
529
						dateLabel.setHTML("Date modified " + ascPrototype.getHTML());
528
						dateLabel.setHTML("Last modified " + ascPrototype.getHTML());
530 529
						return arg1.getModificationDate().compareTo(arg0.getModificationDate());
531 530
					} else if (sortingProperty.equals("size")) {
532 531
						sizeLabel.setHTML("Size " + ascPrototype.getHTML());

Also available in: Unified diff