mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Merge pull request #354 from Dehalion/master
trigger clear.bs.fileinput event if user cancels
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
|
||||
if (files.length === 0) {
|
||||
this.clear()
|
||||
this.$element.trigger('clear.bs.fileinput')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user