Retrait print de debug.
[Plinn.git] / skins / photo_theme / folder_contents_macros.pt
index 00d2ee9..7d25a02 100644 (file)
@@ -39,7 +39,7 @@
                                </tr>
                        </thead>
                        <tbody id="FolderListingBody">
                                </tr>
                        </thead>
                        <tbody id="FolderListingBody">
-<tbody tal:repeat="item_info listItemInfos" tal:omit-tag="">
+<tbody tal:repeat="item_info listItemInfos" tal:omit-tag="" metal:define-macro="itemListing">
                    <tr class="" tal:attributes="class python: (even and 'even') or 'odd'" tal:define="even repeat/item_info/even">
                      <td><img src="." alt="lock" height="16" width="16" border="0"
                               tal:condition="python:not isAnon and item_info['lock']"
                    <tr class="" tal:attributes="class python: (even and 'even') or 'odd'" tal:define="even repeat/item_info/even">
                      <td><img src="." alt="lock" height="16" width="16" border="0"
                               tal:condition="python:not isAnon and item_info['lock']"
@@ -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>