mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Using in fileupload. Fixed #19
This commit is contained in:
2
js/bootstrap-fileupload.js
vendored
2
js/bootstrap-fileupload.js
vendored
@@ -33,7 +33,7 @@
|
||||
|
||||
this.name = this.$input.attr('name') || options.name
|
||||
|
||||
this.$hidden = this.$element.find(':hidden[name="'+this.name+'"]')
|
||||
this.$hidden = this.$element.find('input[type=hidden][name="'+this.name+'"]')
|
||||
if (this.$hidden.length === 0) {
|
||||
this.$hidden = $('<input type="hidden" />')
|
||||
this.$element.prepend(this.$hidden)
|
||||
|
||||
Reference in New Issue
Block a user