Skip to content

Commit

Permalink
Merge pull request #59 from unicef-polymer/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
acory authored Jun 5, 2020
2 parents 94dc872 + 80b4bf1 commit 9dfb06a
Show file tree
Hide file tree
Showing 5 changed files with 7,034 additions and 4,583 deletions.
2 changes: 1 addition & 1 deletion etools-upload.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {PolymerElement, html} from '@polymer/polymer';

import {CommonMixin} from './common-mixin.js';

import {RequestHelper} from './request-helper.js';
import {RequestHelperMixin} from './request-helper-mixin';

/**
* `etools-upload`
Expand Down
5 changes: 3 additions & 2 deletions etools-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import '@polymer/paper-spinner/paper-spinner.js';
import {CommonStyles} from "./common-styles.js";

import {CommonMixin} from './common-mixin.js';
import {RequestHelper} from './request-helper-mixin.js';
import {RequestHelperMixin} from './request-helper-mixin.js';
import {abortActiveRequests} from '@unicef-polymer/etools-ajax/upload-helper';

/**
Expand All @@ -21,7 +21,7 @@ import {abortActiveRequests} from '@unicef-polymer/etools-ajax/upload-helper';
* @polymer
* @demo demo/index.html
*/
class EtoolsUpload extends RequestHelper(CommonMixin(PolymerElement)) {
class EtoolsUpload extends RequestHelperMixin(CommonMixin(PolymerElement)) {
static get template() {
// language=HTML
return html`
Expand Down Expand Up @@ -361,6 +361,7 @@ class EtoolsUpload extends RequestHelper(CommonMixin(PolymerElement)) {
if (typeof this.fileUrl === 'undefined') {
this.resetStatus();
this.invalid = false;
return;
}
if (this.autoValidate) {
this.validate();
Expand Down
Loading

0 comments on commit 9dfb06a

Please sign in to comment.