Dominik Wagner
2005-Jul-05 10:34 UTC
[Rails-spinoffs] [PATCH] script.aculo.us drag-and-drop patch
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2618 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050705/8b315d27/smime.bin
Thomas Fuchs
2005-Jul-06 05:01 UTC
[Rails-spinoffs] [PATCH] script.aculo.us drag-and-drop patch
Thanks for the patch! I''ll work this in for the next release (currently i''m quite busy, so this has to wait a bit) :) Thomas Am 05.07.2005 um 17:20 schrieb Dominik Wagner:> Hi Guys! > > 3 things: > a) only the last_active dropable is considered for being the valid > drop target (fixes issues if you have droppables in droppables, > also is better user feedback, drops only work if the user got an > indication for that via the drophover before) > b) the ondrop methods gets the droptarget as second parameter so > you can do nice things with it, like mae an Insertion.Before or > something like that > c) changed the default reverteffect time to zero, so the user > doesn''t get the impression that the drag did not work (at least Mac > OS X users expect drag rejection, if you animate the backwards > movement) > > Cheerio, > dom > > > <dragdrop.patch> > > -- http://www.DasGenie.com/ -- AIM/iChat: DasGenieDotCom > -- http://scrap.dasgenie.com/ -- > > "Gl?ck ist eine Verpflichtung. Wir sollten uns f?r das Gl?ck > entscheiden. > Wir sollten daran arbeiten. Und dabei sollten wir denen, die uns am > n?chsten stehen, und auch jenen, die nur zuf?llig unseren Pfad > kreuzen, > eine Hilfe sein, damit auch sie ihr Gl?ck finden." - Richard Koch > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >