/*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
import gr.grnet.pithos.web.client.Pithos;
import gr.grnet.pithos.web.client.foldertree.Folder;
-import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.PopupPanel;
if(containerPanel!=null)
containerPanel.hide();
- FileUploadDialog dlg = new FileUploadDialog(app, folder);
+ FileUploadDialog dlg = app.getFileUploadDialog();
+ dlg.setFolder(folder);
dlg.center();
}
}