var lb = document.getElementById('lightbox');
var uploadUrl = absolute_url() + '/put_upload';
new Lightbox(lb);
- new DDFileUploader(lb, uploadUrl);
+ new DDImageUploader(lb, uploadUrl);
})();
// -->
</script>
// © 2013 Benoît Pin MINES ParisTech
-var DDFileUploader;
+var DDImageUploader;
(function(){
-DDFileUploader = function(dropbox, uploadUrl) {
+DDImageUploader = function(dropbox, uploadUrl) {
DDFileUploaderBase.apply(this, [dropbox, uploadUrl]);
};
-copyPrototype(DDFileUploader, DDFileUploaderBase);
+copyPrototype(DDImageUploader, DDFileUploaderBase);
}());
\ No newline at end of file