Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Fixes: Method setUploadButton() works differently as documented (#161)
Browse files Browse the repository at this point in the history
*  Fixes: Method setUploadButton() works differently as documented #161
  • Loading branch information
Phan-ThanhDat committed Mar 11, 2020
1 parent e95ba7d commit 97e003a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ public List<String> getAcceptedFileTypes() {

/**
* Set the component as the actionable button inside the upload component,
* that starts the upload of the selected files.
* that opens the dialog for choosing the files to be upload.
*
* @param uploadButton
* the component to be clicked by the user to start the upload,
* or <code>null</code> to clear it
* the component to be clicked by the user to open the dialog,
* or <code>null</code> to reset to the default button
*/
public void setUploadButton(Component uploadButton) {
removeElementsAtSlot("add-button");
Expand Down

0 comments on commit 97e003a

Please sign in to comment.