[wp-trac] [WordPress Trac] #14394: Attach Media dialog handles enter keyPress incorrectly

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 22 23:51:33 UTC 2010

#14394: Attach Media dialog handles enter keyPress incorrectly
 Reporter:  mdawaffe      |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  Media         |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
 Pressing the enter key while searching for posts in the Attach Media
 dialog causes the global posts-filter form to submit instead of the AJAX
 based search results action.

  1. Go to Media -> Add New
  2. Upload an image.
  3. Go to Media -> Unattached.
  4. Find new image, click "Attach".
  5. Enter search term in text box.
  6. Hit Enter.

 Attached detects an enter keypress from any appropriate input to stop the
 form submission and grab the search results instead.

 Attached removes inline JS.

 Committer: Attached does not include diff to production JS.

Ticket URL: <http://core.trac.wordpress.org/ticket/14394>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list