From: Benoît Pin Date: Fri, 2 Aug 2013 14:50:52 +0000 (+0200) Subject: Renommage plus spécifique. X-Git-Url: https://scm.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/d3adbe078e02fff6d7f7b4faab28e38a06db7f23?ds=inline Renommage plus spécifique. --- diff --git a/skins/photo_layout_macros.pt b/skins/photo_layout_macros.pt index f3fb5ca..16571dd 100644 --- a/skins/photo_layout_macros.pt +++ b/skins/photo_layout_macros.pt @@ -92,7 +92,7 @@ var lb = document.getElementById('lightbox'); var uploadUrl = absolute_url() + '/put_upload'; new Lightbox(lb); - new DDFileUploader(lb, uploadUrl); + new DDImageUploader(lb, uploadUrl); })(); // --> diff --git a/skins/portfolio_upload.js b/skins/portfolio_upload.js index 1309397..d383110 100644 --- a/skins/portfolio_upload.js +++ b/skins/portfolio_upload.js @@ -1,12 +1,12 @@ // © 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