Fix: add max file size
This commit is contained in:
parent
03ec0d7cc5
commit
8b224e9e2d
@ -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 -->
|
||||||
Loading…
Reference in New Issue
Block a user