[wp-trac] [WordPress Trac] #23054: Cursor position after editing media library attachment details

WordPress Trac noreply at wordpress.org
Fri Jan 4 11:11:56 UTC 2013


#23054: Cursor position after editing media library attachment details
------------------------------+--------------------
 Reporter:  GeraldS           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5.1
Component:  Media             |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------
Changes (by nacin):

 * keywords:  needs-patch => has-patch commit


Comment:

 [attachment:23054.3.diff] is lovely.

 This only affected titles and captions because those fields were re-
 rendered in case there were describable elements ("Describe this file" /
 "Caption this image"), as we would need to sync those fields. We can skip
 the re-render whenever the attachment view being rendered has the same
 value as the model, which would be the case for the view being edited. And
 if there's only one visible view, then there's no re-rendering at all.

 This might also render some of our brute-force make-tabbing-work code
 obsolete, which we can look into during 3.6.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23054#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list