Opened 7 years ago

Last modified 3 years ago

#16278 new defect

GridContainerLite.removeChild not actually removing widget when widget.dragRestriction==true

Reported by: Andrew Muraco Owned by:
Priority: undecided Milestone: 1.15
Component: DojoX Layout Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:

Description

GridContainerLite?.removeChild should treat dragRestriction:true widgets as just a regular node for removal, and make the logic consistent w/ _insertChild.

Working example of the issue: http://jsfiddle.net/g3jCc/

Test Case: Click "Add static" then "remove first". Expected: first item is removed Actual: item is still present

If you click "Add Dnd" then "remove first", the gridContainer works as expected.

Attachments (1)

fix_16278_GridContainerLite.patch (1.1 KB) - added by Andrew Muraco 7 years ago.
Possible fix (based on trunk/1.8.x)

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Andrew Muraco

Possible fix (based on trunk/1.8.x)

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12

We will consider this for 1.12.

comment:2 Changed 3 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.