[wp-trac] Re: [WordPress Trac] #6660: Media uploader: Insert Into
Post fails in IE6
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 10 11:08:00 GMT 2008
#6660: Media uploader: Insert Into Post fails in IE6
------------------------+---------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.1
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by tellyworth):
The problem is caused by IE's poor handling of the 'button' tag. The
Media Library list is a single form with multiple buttons. IE submits all
buttons on the form regardless of which one was clicked. The handler code
doesn't notice this and thinks the first button in the list has been
clicked.
The enclosed patch fixes it by swapping the button tag to an input
type="submit".
nb, there are a few other button tags in new code that might suffer from
similar problems, I haven't checked them yet.
--
Ticket URL: <http://trac.wordpress.org/ticket/6660#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list