projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Invocation de _updatePositions après le drop.
[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
7d25a02
..
c2c3780
100644
(file)
--- a/
skins/photo_theme/folder_contents_macros.pt
+++ b/
skins/photo_theme/folder_contents_macros.pt
@@
-91,11
+91,7
@@
var listing = document.getElementById("FolderListingBody");
if (ddEnabled) {
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) {
var topNavBatchBar = document.getElementById("topNavBatchBar");
var bottomNavBatchBar = document.getElementById("bottomNavBatchBar");
if (topNavBatchBar && bottomNavBatchBar) {