Hi!
I'll try to be as descriptive as I can.
I have the following problem that apears when I drag the comment on
the trash div more than once in IE7 I get a javascript error that
looks like this:

Line: 3082
Char: 7
Error: Unspecified error
Code: 0

So, if I refresh the page, I can drag the first comment into trash and
everything goes as expected. The second becomes undraggable because of
the mentioned error.

In Mozilla, everything works just fine.

Snippets:
View:
<div id="<?php echo $comment['Comment']['id']; ?>">
                                <?php echo $comment['Comment']['comment']?>
                        </div>
                        <?php echo $ajax->drag($comment['Comment']['id'],
array('revert'=>false, 'ghosting'=>true)); ?>

<div id="trash" style="background-color:#FFF;font:12px
Verdana;color:red;text-align:left">
        <?php
                echo $this->renderElement('comments/trash');
        ?>
</div>
<?php echo $ajax->dropRemote('trash', null, array('url' =>
'move_to_trash/','with'=>'{draggedid:element.id}','update'=>'comments')); ?
>

Has anyone had this problem?

Help!

Thanks in advance!


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