[wp-trac] [WordPress Trac] #22255: Beta Media button disabled after publishing QuickPress post

WordPress Trac noreply at wordpress.org
Sat Nov 10 02:53:01 UTC 2012


#22255: Beta Media button disabled after publishing QuickPress post
--------------------------+--------------------
 Reporter:  lessbloat     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by azaozz):

 When saving the QuickPress postbox/widget is actually reloaded completely
 with xhr (not sure why). So the event bound to the Add Media button is of
 course removed. Best way to fix this would be to delegate the click on Add
 Media. We can also re-attach the event, but ... why go to all the trouble
 :)

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


More information about the wp-trac mailing list