@@ -187,7 +187,7 function addFileField() { | |||||
187 | var fields = $('attachments_fields'); |
|
187 | var fields = $('attachments_fields'); | |
188 | if (fields.childElements().length >= 10) return false; |
|
188 | if (fields.childElements().length >= 10) return false; | |
189 | fileFieldCount++; |
|
189 | fileFieldCount++; | |
190 |
var s = |
|
190 | var s = new Element('span'); | |
191 | s.update(fields.down('span').innerHTML); |
|
191 | s.update(fields.down('span').innerHTML); | |
192 | s.down('input.file').name = "attachments[" + fileFieldCount + "][file]"; |
|
192 | s.down('input.file').name = "attachments[" + fileFieldCount + "][file]"; | |
193 | s.down('input.description').name = "attachments[" + fileFieldCount + "][description]"; |
|
193 | s.down('input.description').name = "attachments[" + fileFieldCount + "][description]"; |
General Comments 0
You need to be logged in to leave comments.
Login now