Move the sortable call after dataviewlist.
http://pastie.caboo.se/143124
On Jan 24, 8:45 pm, k3mist <[EMAIL PROTECTED]> wrote:
> element has no properties
> _findRootElement(null) dragdrop.js (line 600)
> options(null) dragdrop.js (line 607)
> destroy(null) dragdrop.js (line 613)
> create(null) dragdrop.js (line 656)
> while (element.tagName.toUpperCase() != "BODY") {
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> <title>WTF</title>
> <script type="text/javascript" src="/js/lib/prototype.js"></script>
> <script type="text/javascript" src="/js/src/scriptaculous.js"></
> script>
> <script type="text/javascript">
> //<![CDATA[
> Sortable.create('dataviewlist');
> //]]>
> </script>
> </head>
> <body>
> <ul id="dataviewlist">
> <li>First Name</li>
> <li>Last Name</li>
> <li>Address 1</li>
> <li>Address 2</li>
> <li>City</li>
> <li>State</li>
> <li>Zip</li>
> <li>Country</li>
> <li>Home Phone</li>
> <li>Work Phone</li>
> <li>Email</li>
> <li>Date of Birth</li>
> <li>Gender</li>
> <li>Optin Date</li>
> <li>IP Address</li>
> <li>Source</li>
> </ul>
> </div>
> </body>
> </html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---