Fix: add max file size

This commit is contained in:
Regis Houssin 2012-05-30 22:44:44 +02:00
parent 03ec0d7cc5
commit 8b224e9e2d

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