[wp-trac] [WordPress Trac] #11181: .form-invalid remains on .form-field in IE after onchange

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 19 05:18:21 UTC 2009


#11181: .form-invalid remains on .form-field in IE after onchange
--------------------------+-------------------------------------------------
 Reporter:  aldenta       |       Owner:  azaozz    
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  JavaScript    |     Version:  2.9       
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 In IE 6, 7 & 8 javascript change events won't get fired on .form-field so
 they need to be on an <input>. If there is an invalid form the red error
 style remains on input fields in IE even when the error has been
 corrected.

 == How to reproduce for Categories that already exist ==

 1. Using IE Go to Admin->Posts->Categories
 2. Submit form with category name that already exists (error should
 appear)
 3. Change content in category name to something that doesn't exist and
 submit the form (error should go away but it doesn't)


 == How to reproduce for Categories with no name ==
 1. Using IE Go to Admin->Posts->Categories
 2. Submit form with no category name (error should appear)
 3. Enter content in category name and tab out of field (error should go
 away but it doesn't)

 == How to reproduce for Tags with no name ==
 1. Using IE Go to Admin->Posts->Post Tags
 2. Submit form with no tag name (error should appear)
 3. Enter content in tag name and tab out of field (error should go away
 but it doesn't)

 I'm not even sure why I was using IE but I thought I'd try to fix this...

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


More information about the wp-trac mailing list