I have this element on a page:

<a title="Insert text block" data-element-type="htmlblock" 
class="inserterbar_widget_draggable inserterbar_text_widget 
inserterbar_standard_icon ui-draggable" tabindex="0" href="#"></a>

I want to drag it onto this element, on the same page:

<div class="contentauthoring_cell_content ui-sortable" style="height: 16px; 
overflow: auto;"></div>

So, I define a couple elements:

linkypoo = b.link(:title=>"Insert text block")
divvypoo = b.div(:class=>"contentauthoring_cell_content ui-sortable")

Then I do the drag-and-drop, like this:

linkypoo.drag_and_drop_on(divvypoo)

The script runs without error, but the drag and drop is not happening.

Without an error being thrown, I have no idea how to debug this problem.

I've tried using different parent/child elements around these, but it's 
always the same thing: No error, but no dragging and dropping, either.

Help?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to