Skip to content

Commit

Permalink
Merge pull request #20 from unicef-polymer/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
acory authored Nov 12, 2018
2 parents fb2fa20 + 16c6868 commit 4024efb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions common-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

.upload-button {
color: var(--etools-upload-primary-color, var(--primary-color));
margin-right: 8px;
}

:host([readonly]) .upload-button {
Expand Down
4 changes: 4 additions & 0 deletions etools-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,10 @@
}

autoValidateHandler() {
if (typeof this.fileUrl === 'undefined') {
this.resetStatus();
this.invalid = false;
}
if (this.autoValidate) {
this.validate();
}
Expand Down

0 comments on commit 4024efb

Please sign in to comment.