|
|
@ -25,7 +25,7 @@ function reload(fileSpan) {
|
|
|
|
|
|
|
|
|
|
|
|
function addFile(inputEl, file, eagerUpload) {
|
|
|
|
function addFile(inputEl, file, eagerUpload) {
|
|
|
|
|
|
|
|
|
|
|
|
if ($('#attachments_fields').children().length < 10) {
|
|
|
|
if ($('#attachments_fields').children().length < 30) {
|
|
|
|
deleteallfiles = $(inputEl).data('deleteAllFiles');
|
|
|
|
deleteallfiles = $(inputEl).data('deleteAllFiles');
|
|
|
|
var attachmentId = addFile.nextAttachmentId++;
|
|
|
|
var attachmentId = addFile.nextAttachmentId++;
|
|
|
|
|
|
|
|
|
|
|
|