[wp-trac] [WordPress Trac] #24923: Quick Edit: Title, author, and post date blank/reset on save in IE8

WordPress Trac noreply at wordpress.org
Sun Nov 3 23:02:04 UTC 2013


#24923: Quick Edit: Title, author, and post date blank/reset on save in IE8
-----------------------------+------------------
 Reporter:  Peter_Sc         |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.8
Component:  Quick/Bulk Edit  |     Version:  3.6
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------

Comment (by azaozz):

 Interesting. At the moment of cloning, the ids are the same. Later in the
 same function the cloned row's id is changed. Much later when serializing
 the form data, the changed id is used. But in IE8 it pulls form fields
 from the source row (that has completely different id). Sounds like bad
 cache or IE8 messing up the DOM.

 Btw, the [http://core.trac.wordpress.org/browser/tags/3.7.1/src/wp-
 admin/js/inline-edit-post.js#L122 clone code] is exactly the same as one
 of the examples in the [http://api.jquery.com/clone/ jQuery documentation]
 (halfway down the page). Both select an element by id and then clone it :)

 Seems best would be to avoid using ids on these table rows, but that might
 affect plugins that manipulate Quick Edit. For now the patch looks good.

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


More information about the wp-trac mailing list