Bug Tracker

Opened 13 years ago

Closed 12 years ago

#1478 closed bug (wontfix)

Remeasure in idrop.js is broken for Sortables

Reported by: berpasan Owned by: stefan
Priority: critical Milestone: 1.1.4
Component: interface Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:

Description

This function remeasures dropabbles in case they were redimensioned after the dropabble was set up.

The function is broken when called in case you have sortables (which are also dropabbles).

By looking at the code I figured there were two lines that use an 'elm' var, that is not defined inside the scope of this function, so it gives an error. Those lines are only run when you have a sortable. The lines are really strange, and don't seem to have any use. I don't know what the author meant with them, maybe they were misplaced there by mistake.

Deleting those two lines does the trick and the function is working (at least in my use case). So I am sending a patch for it.

Attachments (1)

fix_bug_in_idrop_remeasure.patch (451 bytes) - added by berpasan 13 years ago.
Patch to fix the bug

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by berpasan

Patch to fix the bug

comment:1 Changed 12 years ago by scott.gonzal

Resolution: wontfix
Status: newclosed

Interface is no longer supported; consider switching to jQuery UI.

Note: See TracTickets for help on using tickets.