X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/decd413cb0fb290e9ddb185252dee51dc8b6b9ec..3f727ea05aae7e2b69274046075b4d13feba2223:/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 7d25a02..b359ad3 100644
--- a/skins/photo_theme/folder_contents_macros.pt
+++ b/skins/photo_theme/folder_contents_macros.pt
@@ -16,7 +16,7 @@
Folder url for script
- first batch item position
+ first batch item position
@@ -65,9 +65,6 @@
2001
|
-
- 1
- |
@@ -91,11 +88,7 @@
var listing = document.getElementById("FolderListingBody");
if (ddEnabled) {
- var rows = listing.getElementsByTagName("TR")
- for ( var i = 0 ; i < rows.length ; i++ )
- rows[i].pos = i + firstItemPos;
-
- var fDDcontroler = new FolderDDropControler(listing);
+ var fDDcontroler = new FolderDDropControler(listing, firstItemPos);
var topNavBatchBar = document.getElementById("topNavBatchBar");
var bottomNavBatchBar = document.getElementById("bottomNavBatchBar");
if (topNavBatchBar && bottomNavBatchBar) {