From: Benoît Pin Date: Mon, 9 Dec 2013 17:18:06 +0000 (+0100) Subject: Ce qu’il faut pour que l’upload par glisser / déposer fonctionne avec le thème par... X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/2ed1eae398e5d04ed8810765105dc9535a26bf44?ds=inline Ce qu’il faut pour que l’upload par glisser / déposer fonctionne avec le thème par défaut. --- diff --git a/skins/generic/folder_contents_macros.pt b/skins/generic/folder_contents_macros.pt index 2cb5b03..19be9c1 100644 --- a/skins/generic/folder_contents_macros.pt +++ b/skins/generic/folder_contents_macros.pt @@ -98,7 +98,7 @@ (function(){ // upload by drag and drop var uploadUrl = absolute_url() + '/put_upload'; - new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, document.getElementById("FolderListingBody")); + new DDFolderUploader(document.getElementById('Desktop'), uploadUrl, document.getElementById("FolderListingBody")); }()); diff --git a/skins/photo_theme/folder_jsupload_snippet.py b/skins/generic/folder_jsupload_snippet.py similarity index 100% rename from skins/photo_theme/folder_jsupload_snippet.py rename to skins/generic/folder_jsupload_snippet.py diff --git a/skins/photo_theme/folder_jsupload_snippet_template.pt b/skins/generic/folder_jsupload_snippet_template.pt similarity index 100% rename from skins/photo_theme/folder_jsupload_snippet_template.pt rename to skins/generic/folder_jsupload_snippet_template.pt