Fix: add max file size

This commit is contained in:
Regis Houssin 2012-05-30 22:44:44 +02:00
parent bef5b66dab
commit 8c4ddb99be

View File

@ -44,6 +44,11 @@ $(function () {
// Initialize the jQuery File Upload widget: // Initialize the jQuery File Upload widget:
$('#fileupload').fileupload(); $('#fileupload').fileupload();
// Options
$('#fileupload').fileupload('option', {
maxFileSize: max_file_size
});
}); });
</script> </script>
<!-- END TEMPLATE FILE UPLOAD MAIN --> <!-- END TEMPLATE FILE UPLOAD MAIN -->