Created
April 1, 2013 14:06
-
-
Save Darkside73/5285149 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error = "<%= escape_javascript flash[:error] %>" | |
unless error | |
$('tr#<%= dom_id(@category) %>').fadeOut() | |
else | |
$('#content').prepend("<%= escape_javascript render(partial: 'flashes') %>") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment