Ticket #4940 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.8

comment:2 Changed 5 years ago by rdworth

  • Priority changed from major to critical
  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3765

Note: See TracTickets for help on using tickets.