Opened 8 years ago

Closed 8 years ago

#4940 closed bug (fixed)

resizable('destroy') moves images to end of parent element

Reported by: erikharrison Owned by:
Priority: critical Milestone: 1.8
Component: ui.resizable Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

Only tested with images, in FF 3.5. Sorry I don't have a demo page handy to link you to.

$('img').resizable().resizable('destroy');

The images are moved in the DOM to the end of their parent element. So

<div>
    Before
    <img src='image.jpg'>
    After
<div>

becomes

<div>
    Before
    After
    <img src='image.jpg'>
<div>

In my tests this affected both stable and 1.8a1

Change History (2)

comment:1 Changed 8 years ago by Jörn Zaefferer

Milestone: TBD1.8

comment:2 Changed 8 years ago by rdworth

Priority: majorcritical
Resolution: fixed
Status: newclosed

Fixed in r3765

Note: See TracTickets for help on using tickets.