git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@83664 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7dbea45fcb
commit
8dad646b8c
|
@ -117,7 +117,6 @@ public class AppController implements SubscriberInterface {
|
|||
private String selectedSmartFolderCategory;
|
||||
|
||||
|
||||
|
||||
public AppController(AppControllerExplorer appControllerExplorer) {
|
||||
this.appContrExplorer = appControllerExplorer;
|
||||
this.appContrExplorer.subscribe(this, new EventsTypeEnum[] {
|
||||
|
@ -267,7 +266,9 @@ public class AppController implements SubscriberInterface {
|
|||
@Override
|
||||
public void onGetLink(GetShareLinkEvent getLinkEvent) {
|
||||
|
||||
AppControllerExplorer.getEventBus().fireEvent(new GetShareLinkEvent(getLinkEvent.getSourceFile()));
|
||||
FileModel getLinkFile = getLinkEvent.getSourceFile()!=null?getLinkEvent.getSourceFile():wsPortlet.getToolBarPath().getLastParent();
|
||||
|
||||
AppControllerExplorer.getEventBus().fireEvent(new GetShareLinkEvent(getLinkFile));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue