Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (61 - 63 of 7259)

Ticket Resolution Summary Owner Reporter
#6240 invalid Sortable placeholder when dragging a connected element avsomeren avsomeren
Description

I am facing an issue with combining draggable and sortable.

The problem has to do with a placeholder not showing when a draggable is moved over the sortable (#SortablePhotoList) the drop is not "recognized". This behaviour occurs when the sortable ul element doesn't have a height defined in css.

When i do define a height in css for the #SortablePhotoList, the placeholder is visible and everything works as expected.

The important css :

#SortablePhotoList { list-style-type: none; margin: 2px; padding: 0px; width: 858px; /* height:200px; */ }
.Thumbnail { cursor: hand; width: 136px; height: 102px; float: left; margin: 0 5px 5px 0; position: relative; border: 1px #717171 solid; }
.ThumbnailPlaceholder { width: 136px; height: 102px; float: left; margin: 0 5px 5px 0; border: 1px #000 dotted; }

The important javascript :

 $("#SortablePhotoList").sortable({
        revert: true,

        placeholder: 'ThumbnailPlaceholder',
        tolerance: 'pointer',
        revert: 50,
        distance: 5,
        items: 'li:not(.Upload)',
        stop: function (event, ui) {
            //Do stuff with the sorted thumbnail
        },
        receive: function (event, ui) {
            //Accept the dragged item and change it's appearance a bit
            var item = $('#SortablePhotoList li.NewlyAdded');
            $(".ImageRemove", item).show();
            $(".PhotoSelector", item).show();
            item.removeClass('NewlyAdded');
        }
    });

Ragards, avsomeren

#6263 invalid Datepicker is opened in wrong position in IE6 when body has "position:fixed" in style maxbarbul maxbarbul
Description

In attached example HTML you can see the demo of datepicker from UI site. Only I changed some links and set style="position: fixed" for BODY element (as we use in our app).

In this case datepicker appears in wrong position. Without position:fixed it's OK.

I found place in datepicker code where position:fixed is applied to widget container of datepicker. So I changed the condition to not meet BODY and HTML elements in search of parents (see attached patch).

#6878 invalid Droppable: Incorrect handling for rotated elements fireknight fireknight
Description

if the droppable element is rotated to 90 or 270 degree, I can't drag to left and right side at edge.

Note: See TracQuery for help on using queries.