On Thu, 2007-01-11 at 10:24 +0000, Peter Russell wrote:
> Hi,
> 
> I've been using MochiKit.Sortable for a web page,  There seems to be a
> bug with these sortables - but that's not the bug I'm writing about.
> 
> In trying to produce a test case to demonstrate the problem, I updated
> the SVN version of MochiKit.  Unfortunately I don't have a record of the
> version I had been using before.  There seem to be some regressions in
> the intervening time.
> 
> Using the code below, in IE 6 (running under Wine) elements can be
> dragged, but not dropped, also dropping on the empty list does not work.

In rereading my post, I think I should clarify this:

Bug 1:

In IE 6 (running under wine) I can drag elements within a list but the
"Error in page" alert appears in the status bar. When dropping them they
slide into place as expected, but when the mouse is moved again they
start following the pointer again.

Bug 2:

In Firefox 2 and IE 6 (running under wine), Konqueror, and Opera
(presumably any browser) dropping on the empty sortable does not work
(dropOnEmpty:true doesn't have the expected behaviour).

> The packed.js is built with the following command line:
> 
> ./scripts/pack.py Base Iter DOM Style Color Signal Position Visual
> DragAndDrop Sortable > packed/packed_with_sortable.js
> 
> A couple of other bugs:
> The Sortable documentation lists Effect as a dependency, but it does not
> exist, and Position is a dependency of Visual, but is not listed as
> such.
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
>   <head>
>     <title>Test Sortables</title>
>   </head>
> 
>   <body>
>     <script type="text/javascript"
>       src="packed.js"></script>
> 
>     <h1>Sortable Test program</h1>
>     <h2>Drag To Here:</h2>
>     <div style="border: 1px solid black;">
>       <ul id="target_sortable">
>       </ul>
>     </div>
>     <h2>Drag From Here:</h2>
>     <div style="border: 1px solid black;">
>       <ul id="dnd_sortable">
>         <li>mochibot.com</li>
>         <li>pythonmac.org</li>
>         <li>undefined.org</li>
>         <li>python.org</li>
>       </ul>
>     </div>
>     <script type="text/javascript">
>       MochiKit.Sortable.Sortable.create('dnd_sortable', {containment:
>       ['dnd_sortable', 'target_sortable'], dropOnEmpty:true});
>       MochiKit.Sortable.Sortable.create('target_sortable', {containment:
>       ['dnd_sortable', 'target_sortable'], dropOnEmpty:true});
>     </script>
>     <hr>
>     <address><a href="mailto:[EMAIL PROTECTED]">Peter
> Russell</a></address>
> <!-- Created: Wed Jan 10 16:55:18 GMT 2007 -->
> <!-- hhmts start -->
> Last modified: Thu Jan 11 10:07:56 GMT 2007
> <!-- hhmts end -->
>   </body>
> </html>
> 
-- 
Peter Russell <[EMAIL PROTECTED]>
Qustom


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to