Hey all!  I have 4 lists on a page, all if which are filled by an
Ajax.Updater call.  I want them to be Sortable.  I have this code in
my document HEAD:


Event.observe(window, 'load', function() {

        new Ajax.Updater('issue_order1', '/inc/modules/issue_order.php?
col=issue_order1', {
          parameters: { onComplete: Sortable.create('issue_order1') }
        });

});

... of course I have 4 such calls which run at window load.

But the lists aren't sortable.  I assume this has something to do with
them being updated, because if I disable the Ajax.Updater for a list,
and just make it Sortable, it works fine.  The docs say the onComplete
callback runs at "the very end" of the Updater call, but replacing my
Sortable.create call with an alert that happens onComplete shows that
the list has yet to be updated and redrawn.

Any ideas?  Any help would be IMMENSELY appreciated.

Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to