blueimp/jQuery-File-Upload — Issue #911: Template engine example
Author: David-Petretta
Created: 2012-01-01 18:46:25+00:00
State: open

Hi,

I'm trying to replace the Javascript Template by using Plugin extensions : https://github.com/blueimp/jQuery-File-Upload/wiki/Template-Engine.

I'm unable to make it running I got this error :

jquery.fileupload-ui.js:68 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined

I started with the basic example from which I add :

1) jquery.fileupload-ui.js script
2) the override of the template engine
3) $(function () {
$('#fileupload').fileupload({
dataType: 'json',
url: 'php/index.php',
});
});

Regards,
David