Fix: bad option name
This commit is contained in:
parent
6f28b69804
commit
176c6013ec
@ -45,7 +45,7 @@ $(function () {
|
|||||||
// Options
|
// Options
|
||||||
$('#fileupload').fileupload('option', {
|
$('#fileupload').fileupload('option', {
|
||||||
// Enable iframe cross-domain access via redirect option
|
// Enable iframe cross-domain access via redirect option
|
||||||
reidrect: window.location.href.replace(/\/[^\/]*$/,'<?php echo DOL_URL_ROOT; ?>/includes/jquery/plugins/fileupload/cors/result.html?%s'),
|
redirect: window.location.href.replace(/\/[^\/]*$/,'<?php echo DOL_URL_ROOT; ?>/includes/jquery/plugins/fileupload/cors/result.html?%s'),
|
||||||
maxFileSize: '<?php echo $max_file_size; ?>'
|
maxFileSize: '<?php echo $max_file_size; ?>'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user