﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
22491,Autosave / AYS on the attachment edit screen,helenyhou,azaozz,"Autosave/AYS you want to leave this page behavior is based on an input with the ID of content; specifically, the JS is looking for `#post #content`. The attachment edit screen uses `attachment_content` for the textarea's ID instead (`#content` is also used for some JS dealing with the editor size). Thus, if there is a description/attachment page content for the attachment, you'll get an AYS when trying to leave the page, even if you haven't changed anything, and if autosave has fired (which you can trigger by running autosave(); in the console instead of waiting), there will always be a red warning at the top saying that there is a newer autosave, which has empty content.",defect (bug),closed,normal,3.5,Media,3.5,normal,fixed,has-patch,
