Skip to content

Commit

Permalink
Fix: remove unused code for avoid warning with IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Aug 4, 2012
1 parent 17c4520 commit e4f7df2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions htdocs/core/tpl/ajax/fileupload_main.tpl.php
Expand Up @@ -42,13 +42,6 @@
// Initialize the jQuery File Upload widget:
$('#fileupload').fileupload();

// Options
$('#fileupload').fileupload('option', {
// Enable iframe cross-domain access via redirect option
redirect: window.location.href.replace(/\/[^\/]*$/,'<?php echo DOL_URL_ROOT; ?>/includes/jquery/plugins/fileupload/cors/result.html?%s'),
maxFileSize: '<?php echo $max_file_size; ?>'
});

// Events
$('#fileupload').fileupload({
completed: function (e, data) {
Expand Down

0 comments on commit e4f7df2

Please sign in to comment.