Closed egraether closed 11 years ago
hab das mit $(graphicID).hide() geloest
damn, wollt ich grad selber fixen :D beim pushen hab ich dann gesehen dass _graphics.html.haml geändert wurde :P meine lösung anayway:
=link_to(graphic_path(graphic), :class=>"deleteGraphic",
// Remove deleted Graphic $("a.deleteGraphic").bind("ajax:complete", function(et, e){ $(this).closest("li").fadeOut(1000, function() { $(this).remove(); }); });
page refresh could fix this