[Rails-spinoffs] Code for onChange is missing

Martin Bialasinski
Mon, 25 Jul 2005 14:20:09 -0000

Hello,

onChange as advertised for Sortable cannot work, as there is code missing.

    // onChange event handler
    element.sortable = {};
    element.sortable.onChange = options.onChange;

needs to be added to Sortable.create() to make it work.

Bye,
Martin