# Error for second Drag in IE

**URL:** <https://www.ruby-forum.com/t/error-for-second-drag-in-ie/107869>\
**Category:** Rails\
**Created:** [June 27, 2007, 12:18am UTC](https://www.ruby-forum.com/t/error-for-second-drag-in-ie/107869 "2007-06-27T00:18:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@juan](https://www.ruby-forum.com/u/juan)\
**Post date:** [June 27, 2007, 12:18am UTC](https://www.ruby-forum.com/t/error-for-second-drag-in-ie/107869/1 "2007-06-27T00:18:28Z")

</div>

first: sorry by my inglish 🙂

I have in one side a list and in the other a table (2 columns and many  
rows)  
I need to drag one item from the list and drop it in any of all the td’s  
on the table. In every ‘td’ of the second’s columns there is a ‘div’,  
which is dropable and dragable(to revert changes). Well…in firefox  
works! but in IE I pick an item from the list drop it on the table and  
if I try with other, IE returns me an error:

line: 3082  
character: 7  
error: unespecified  
code: 0

Here is my code, these are two parcial’s:

------------------------ list ---------------------

### Campos de Tipo Archivo

 \<% for campo in @campos\_disponibles -%\> - \<%= campo.nombre.humanize %\> **\<%= h(campo.tipo\_de\_dato.nombre.capitalize) %\>**
 \<%= draggable\_element "#{dom\_id(campo)}", :revert =\> false %\> \<% end %\>
-----------------------------------------------------

-------------------- table ------------------------------

 \<% for mapa\_item in @mapa\_items %\> 

```
  <%= drop_receiving_element "div_#{dom_id(mapa_item)}",
  :url => { :action => "agregar_relacion", :mapa_item => mapa_item

```

},  
:accept =\> “#{dom\_class(Campo)}”  
-%\>

```
<% end %>

```

## 

| \<%= h(mapa\_item.nombre) %\> | 
 \<%= mapa\_item.campo.nil? ? "Arrastre un campo hasta aqui..." : mapa\_item.campo.nombre.humanize -%\> 
 \<%= draggable\_element "div\_#{dom\_id(mapa\_item)}", :revert =\> false %\> |

In other place on the application I use the Drag&Drop between list’s and  
works in both (FF and IE), I need this structure for the purpose that  
has.  
Ou!, the problems is from the list to the table, from the table to the  
list I can do it all the times I want.  
Some opinion?

Thanks!  
Juan M. Repetti
