Skip to content
代码片段 群组 项目
  • Heinrich Lee Yu's avatar
    1453d309
    Fix incorrect rendering of flash messages · 1453d309
    Heinrich Lee Yu 创作于
    Flash messages are not cleared unless they are accessed in
    a request. Our JSON requests don't read the flash causing these
    messages to persist to unrelated requests.
    
    We fix this by only setting the flash message for non-AJAX
    HTML requests.
    1453d309
    历史
    Fix incorrect rendering of flash messages
    Heinrich Lee Yu 创作于
    Flash messages are not cleared unless they are accessed in
    a request. Our JSON requests don't read the flash causing these
    messages to persist to unrelated requests.
    
    We fix this by only setting the flash message for non-AJAX
    HTML requests.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。