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.
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