Using in fileupload. Fixed #19

This commit is contained in:
Arnold Daniels
2012-12-25 06:48:51 +01:00
parent 8fa7b7ee99
commit c63e570f7f

View File

@@ -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)