Displaying 2 results from an estimated 2 matches for "drop_receiving".
2006 Jan 20
1
[protoype] Problem with Effects on draggable element if revert is true
...t
<%= draggable_element "item_#{product}_#{i}", :revert => true %>
When this element is dragged outside the cart into the "main_div", I want to
show a puff effect and remove the element. When it is dragged within the
cart, it should revert.
So i wrote this code for drop_receiving _element
<%= drop_receiving_element "cart",
:update => "items",
:url => nil,
:accept => "cart-items" %>
<%= drop_receiving_element "main_div",
:update => "items", :url => { :action =>...
2006 May 30
0
The ARTS Plugin: Another RJS Testing System
...9;'s a
taste:
assert_rjs :alert, ''Hi!''
assert_rjs :assign, ''a'', ''2''
assert_rjs :call, ''foo'', ''bar'', ''baz''
assert_rjs :draggable, ''draggable_item''
assert_rjs :drop_receiving, ''receiving_item''
assert_rjs :hide, "post_1", "post_2", "post_3"
assert_rjs :insert_html, :bottom, ''posts''
assert_rjs :redirect_to, :action => ''list''
assert_rjs :remove, "post_1", "post_2&q...