I'm building a site containing a webshop for images. Each photoseries is implemented as a node, containing multiple images as file-fields. For uploading I'm using SWFupload.
When uploading multiple images to a node, I experience a very weird behaviour (see enclosed screenprint):
- uploading 1 image creates one line, with one drag-mark in front of it
- when uploading 2 images, the 2nd gets a drag-mark, but a drag-mark is added to number 1, too
- when uploading multiple images, each image adds a drag-mark to all other images.
In enclosed screenprint you see the result. IMagine what happens with typical nodes that have 25-50 or more images on them.......
Comments
Comment #1
yo-1 commentedIn addition: please also mark the strange text: 'Editeditedit' under each columnheading. next to that numerous 'edit'-mouseovers are present in the panel .
Any idea what is causing this. Is it an installation or configuration-issue??
Johan
Comment #2
lauri commentedExperiencing this bug as well.
Comment #3
zuffap commentedI digged into this defect, because I was experiencing it too when I changed themes and it seems I found the bug causing it in the swfupload_widget.js.
On line 410 there is:
}).parents('td').dblclick(function() {
but should be:
}).closest('td').dblclick(function() {
otherwise it will assign the widget behaviour also to all parent tds it encounter on its way up the DOM tree.
The same applies for dragging controls:
line 430 and 431 should read:
$(this).appendTo($(this).closest('tr').addClass('tabledrag-handle-swfupload-moved').find('td.drag div.wrapper')).bind('mousedown', function() {
$(this).closest('tr').addClass('dragging');
(again 'parents' replaced with 'closest').
Peter Zuffa
It works for me in my theme, but it will probably require some more testing in other themes.
Comment #4
avpadernoI am closing this issue, since Drupal 4.x, 5.x, and 6.x aren't supported anymore.