Skip to content

Commit

Permalink
implemented nervgh#357
Browse files Browse the repository at this point in the history
  • Loading branch information
shoaibmerchant committed Mar 9, 2016
1 parent f1310b2 commit a8bfada
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions dist/angular-file-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ return /******/ (function(modules) { // webpackBootstrap

if (!this.uploader.isHTML5) this.destroy();
this.uploader.addToQueue(files, options, filters);
if (this.isEmptyAfterSelection()) {
if (this.isEmptyAfterSelection() || options && options.clearInputAfterAddedToQueue) {
this.element.prop("value", null);
this.element.replaceWith(this.element = this.element.clone(true)); // IE fix
}
Expand Down Expand Up @@ -1995,5 +1995,4 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ }
/******/ ])
});
;
//# sourceMappingURL=angular-file-upload.js.map
;
Loading

0 comments on commit a8bfada

Please sign in to comment.