The following is included in the content for an ajax updated DIV, wich
is a sortable list. The intention is to re-generate the sortables on
each update so the user can continue sorting elements. It works fine
for Firefox, but evalScripts does not seem to work on IE. Any clues
why? I've digged the previous posts on similar subjects, scriptaculous
docs and CakePHP API without luck. BTW, I'm using CakePHP 1.2

<?=$ajax->sortable('nsortable',array('onUpdate'=>"function(element){
                             new Effect.Appear('feedback');
                             new
Ajax.Updater('noticias','/admin/news/sort',
                                    {

postBody:Sortable.serialize('nsortable'),
                                        onComplete:function(obj){ new
Effect.Fade('feedback'); },
                                        asynchronous:true,
                                        evalScripts:true,
                                        requestHeaders:['X-Update',
'noticias']
                                    }
                             )
                           }"))
?>

This, and scriptaculous IE bug with slides, are making what should be a
simple work into a nightmare :P


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to