projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Activation de l’upload par glisser / déposer que si permission d’ajouter.
[Plinn.git]
/
skins
/
photo_theme
/
folder_contents_macros.pt
diff --git
a/skins/photo_theme/folder_contents_macros.pt
b/skins/photo_theme/folder_contents_macros.pt
index
a9d046a
..
98177ba
100644
(file)
--- a/
skins/photo_theme/folder_contents_macros.pt
+++ b/
skins/photo_theme/folder_contents_macros.pt
@@
-95,10
+95,14
@@
addListener(topNavBatchBar, "click", loadListing);
addListener(bottomNavBatchBar, "click", loadListing);
}
addListener(topNavBatchBar, "click", loadListing);
addListener(bottomNavBatchBar, "click", loadListing);
}
+
+ }());
+ </script>
+ <script type="text/javascript" tal:condition="options/form/items_add_allowed">
+ (function(){
// upload by drag and drop
var uploadUrl = absolute_url() + '/put_upload';
// upload by drag and drop
var uploadUrl = absolute_url() + '/put_upload';
- new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, listing);
-
+ new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, document.getElementById("FolderListingBody"));
}());
</script>
</body>
}());
</script>
</body>