Login Register

DnD exmaple has stange but reproducable bug

I was fiddling with the DnD example in the doco:

http://dojotoolkit.org/book/dojo-book-0-9/part-3-programmatic-dijit-and-...

and got it working after a little tweeking. Then noticed a strange but regular bug with it. I goes like this:

  1. Drag an item to the 'Your Shopping Cart' target.
  2. Try and drag this item back to the 'Todays Special' target

In both cases I can not drag the item back, which is expected, but every second time the Avatar goes green instead of Red? This seems like a simple fix that could be made somewhere but doesn't seem related to the example.

Thank you for bringing this

Thank you for bringing this to me attention — I'll review the code of the example in question.