Skip to content

Commit

Permalink
Fix #1059: Better form reset behavior and update of reset method in…
Browse files Browse the repository at this point in the history
… docs
  • Loading branch information
kartik-v committed Aug 27, 2017
1 parent 30c2a22 commit 5ee4b0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ Change Log: `bootstrap-fileinput`

## version 4.4.3 (_under development_)

**Date:** 18-Aug-2017
**Date:** 27-Aug-2017

- (enh #1059): Better form reset behavior and update of `reset` method in docs.
- (enh #1056): Add Lithuanian Translations.
- (enh #1050): Update Japanese Translations & Locales.
- (enh #1049): New property `uploadUrlThumb`.
- (enh #1048): Add ability to retry errored file uploads.
- New plugin properties added:
Expand Down
2 changes: 1 addition & 1 deletion js/fileinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@
self._handler($cont.find('.fileinput-remove:not([disabled])'), 'click', $.proxy(self.clear, self));
self._handler($cont.find('.fileinput-cancel'), 'click', $.proxy(self.cancel, self));
self._initDragDrop();
self._handler($form, 'reset', $.proxy(self.reset, self));
self._handler($form, 'reset', $.proxy(self.clear, self));
if (!self.isUploadable) {
self._handler($form, 'submit', $.proxy(self._submitForm, self));
}
Expand Down

0 comments on commit 5ee4b0b

Please sign in to comment.