Displaying 1 result from an estimated 1 matches for "lesson_category".
Did you mean:
lesson_category_#
2009 Jan 15
1
Sequential "page." commands in a js.rjs file?
After the (remote) delete action for my lesson_categories controller i
fall through to this js.rjs file:
page.visual_effect :fade, "lesson_category_#{@lesson_category.id}",
:duration => 1
page.remove "lesson_category_#{@lesson_category.id}"
The problem, though, is that the visual effect is initiated, then the
remove is initiated, before the visual effect is finished, so that the
visual effect doesn''t get a chance to...