Début d’implémentation de l’upload par glisser / déposer dans les dossiers Plinn.
[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>