Browse Source

Adds an id to the flash message divs (#9034).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9578 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.0.0
Jean-Philippe Lang 12 years ago
parent
commit
253b02bd22
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/helpers/application_helper.rb

+ 1
- 1
app/helpers/application_helper.rb View File

@@ -220,7 +220,7 @@ module ApplicationHelper
def render_flash_messages
s = ''
flash.each do |k,v|
s << (content_tag('div', v.html_safe, :class => "flash #{k}"))
s << content_tag('div', v.html_safe, :class => "flash #{k}", :id => "flash_#{k}")
end
s.html_safe
end

Loading…
Cancel
Save