Revision 5cd18037 web_client/src/gr/grnet/pithos/web/client/FileList.java

b/web_client/src/gr/grnet/pithos/web/client/FileList.java
474 474
		celltable.setSelectionModel(selectionModel,GSSSelectionEventManager.<FileResource>createDefaultManager());
475 475
		celltable.setPageSize(GSS.VISIBLE_FILE_COUNT);
476 476
		
477
		//celltable.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
478
		Scheduler.get().scheduleIncremental(new RepeatingCommand() {
479

  
480
			@Override
481
			public boolean execute() {
482
				return fetchRootFolder();
483
			}
484
		});
477
//		Scheduler.get().scheduleIncremental(new RepeatingCommand() {
478
//
479
//			@Override
480
//			public boolean execute() {
481
//				return fetchRootFolder();
482
//			}
483
//		});
485 484
		sinkEvents(Event.ONCONTEXTMENU);
486 485
		sinkEvents(Event.ONMOUSEUP);
487 486
		sinkEvents(Event.ONMOUSEDOWN);
......
491 490
		GSS.preventIESelection();
492 491
	}
493 492
	
494
	//public native void fireClickEvent(Element element) /*-{
495
	  //  var evObj = $doc.createEvent('MouseEvents');
496
	    //evObj.initEvent('click', true, true);
497
	    //element.dispatchEvent(evObj);
498
  	//}-*/;
499
	
500
	
493

  
501 494
	
502 495
	 public List<FileResource> getSelectedFiles() {
503 496
         return new ArrayList<FileResource>(selectionModel.getSelectedSet());

Also available in: Unified diff