On récupère le snipet d’après upload sur le dossier si le contenu n’en a pas de défini.
[Plinn.git] / skins / photo_theme / folder_contents_macros.pt
index 00d2ee9..bd8e7f5 100644 (file)
@@ -77,7 +77,7 @@
       <span metal:use-macro="here/batch_macros/macros/navigation">batch navigation</span>
     </div>
                <script type="text/javascript">
       <span metal:use-macro="here/batch_macros/macros/navigation">batch navigation</span>
     </div>
                <script type="text/javascript">
-               //<!--
+               (function(){
                        // variables for drag-and-drop ordered support
                        var ddEnabled = false
                        try {
                        // variables for drag-and-drop ordered support
                        var ddEnabled = false
                        try {
                                addListener(topNavBatchBar, "click", loadListing);
                                addListener(bottomNavBatchBar, "click", loadListing);
                        }
                                addListener(topNavBatchBar, "click", loadListing);
                                addListener(bottomNavBatchBar, "click", loadListing);
                        }
+                       
+                       var uploadUrl = absolute_url() + '/put_upload';
+      // new DDFolderUploader(document.getElementById('ForematterCell'), uploadUrl, listing);
 
 
-               //-->
+               }());
                </script>
   </body>
 
                </script>
   </body>