Updated icons
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@119429 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d7caa089bf
commit
cb4224ba89
|
@ -59,7 +59,7 @@ public interface WorkspaceUploaderIcons extends ClientBundle {
|
|||
*
|
||||
* @return the image resource
|
||||
*/
|
||||
@Source("closewindow.jpg")
|
||||
@Source("closewindow.png")
|
||||
ImageResource closeWin();
|
||||
|
||||
/**
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -79,6 +79,8 @@ public class DialogUpload extends ClosableDialog implements HasWorskpaceUploadNo
|
|||
public DialogUpload(String headerTitle, final String parentId, UPLOAD_TYPE uploadType){
|
||||
super(false, true, headerTitle);
|
||||
|
||||
fileUpload = new FileUpload();
|
||||
|
||||
//ONLY IN CASE OF FILE MULTIPLE UPLOAD IS AVAILABLE
|
||||
if(uploadType.equals(UPLOAD_TYPE.File))
|
||||
fileUpload.getElement().setAttribute("multiple", "multiple");
|
||||
|
@ -95,7 +97,6 @@ public class DialogUpload extends ClosableDialog implements HasWorskpaceUploadNo
|
|||
formPanel.setWidget(panel);
|
||||
setModal(false);
|
||||
|
||||
fileUpload = new FileUpload();
|
||||
fileUpload.setName(ConstantsWorkspaceUploader.UPLOAD_FORM_ELEMENT);
|
||||
|
||||
// Add hidden parameters
|
||||
|
|
Loading…
Reference in New Issue