diff --git a/app/views/tasks/_new_document.html.haml b/app/views/tasks/_new_document.html.haml index 9f14b4e..fc90468 100644 --- a/app/views/tasks/_new_document.html.haml +++ b/app/views/tasks/_new_document.html.haml @@ -12,6 +12,7 @@ $(document).ready(function() { $('#upload_documents').fileupload({ dataType: 'json', + limitConcurrentUploads: 5, add: function(e, data) { data.context = $('
') .append($('').text(data.files[0].name)) diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 1c68934..0000000 --- a/package-lock.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "benyehuda-cases-server", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "dependencies": { - "blueimp-file-upload": "^10.32.0" - } - }, - "node_modules/blueimp-canvas-to-blob": { - "version": "3.29.0", - "resolved": "https://registry.npmjs.org/blueimp-canvas-to-blob/-/blueimp-canvas-to-blob-3.29.0.tgz", - "integrity": "sha512-0pcSSGxC0QxT+yVkivxIqW0Y4VlO2XSDPofBAqoJ1qJxgH9eiUDLv50Rixij2cDuEfx4M6DpD9UGZpRhT5Q8qg==", - "optional": true - }, - "node_modules/blueimp-file-upload": { - "version": "10.32.0", - "resolved": "https://registry.npmjs.org/blueimp-file-upload/-/blueimp-file-upload-10.32.0.tgz", - "integrity": "sha512-3WMJw5Cbfz94Adl1OeyH+rRpGwHiNHzja+CR6aRWPoAtwrUwvP5gXKo0XdX+sdPE+iCU63Xmba88hoHQmzY8RQ==", - "optionalDependencies": { - "blueimp-canvas-to-blob": "3", - "blueimp-load-image": "5", - "blueimp-tmpl": "3" - }, - "peerDependencies": { - "jquery": ">=1.7" - } - }, - "node_modules/blueimp-load-image": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/blueimp-load-image/-/blueimp-load-image-5.16.0.tgz", - "integrity": "sha512-3DUSVdOtlfNRk7moRZuTwDmA3NnG8KIJuLcq3c0J7/BIr6X3Vb/EpX3kUH1joxUhmoVF4uCpDfz7wHkz8pQajA==", - "optional": true - }, - "node_modules/blueimp-tmpl": { - "version": "3.20.0", - "resolved": "https://registry.npmjs.org/blueimp-tmpl/-/blueimp-tmpl-3.20.0.tgz", - "integrity": "sha512-g6ln9L+VX8ZA4WA8mgKMethYH+5teroJ2uOkCvcthy9Y9d9LrQ42OAMn+r3ECKu9CB+xe9GOChlIUJBSxwkI6g==", - "optional": true, - "bin": { - "tmpl.js": "js/compile.js" - } - }, - "node_modules/jquery": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", - "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==", - "peer": true - } - } -}