Ticket #4278 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

Droppable: option accept setter .droppable('option', 'accept', selector) fails

Reported by: d.wachss Owned by:
Priority: critical Milestone: 1.7.1
Component: ui.droppable Version: 1.6rc6
Keywords: Cc:
Blocking: Blocked by:

Description

$(...).droppable('option', 'accept', selector) gives an error ("accept" not defined). The bug is line 54 in _setData, it reads:

  return d.is(accept);

It should be:

  return d.is(value);

(It looks like the code was copy/pasted from _init without testing)

Change History

comment:1 Changed 6 years ago by Cloudream

  • Priority changed from major to minor
  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from TBD to 1.7.1

fixed in [2208]

comment:2 Changed 6 years ago by rdworth

  • Milestone changed from 1.7.1 to 1.8

comment:3 Changed 6 years ago by rdworth

  • Summary changed from Bug in Droppable; droppable('option', 'accept', selector) fails to Droppable: option accept setter .droppable('option', 'accept', selector) fails

comment:4 Changed 6 years ago by rdworth

  • Priority changed from minor to major

comment:5 Changed 6 years ago by rdworth

  • Priority changed from major to critical

comment:6 Changed 6 years ago by rdworth

  • Milestone changed from 1.8 to 1.7.1

Merged to 1.7.1 in r2318

Note: See TracTickets for help on using tickets.