WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#6469 closed defect (bug) (fixed)

IE7 and "Enter a link URL or click above for presets" not working

Reported by: terabyten Owned by: tellyworth
Milestone: 2.7 Priority: high
Severity: major Version: 2.7
Component: Administration Keywords: image insert jQuery
Focuses: Cc:

Description

Those three buttons for inserting link URL or "file" or "post" and inserting "none", while inserting an image into the post, are not working in IE7.

Instead of the right URL it sets actually just the words "File URL" or "Post URL" or "None" in the form, when clicking on the buttons.

Attachments (1)

insert_image.JPG (9.3 KB) - added by terabyten 7 years ago.
Just an image to show how it looks

Download all attachments as: .zip

Change History (14)

@terabyten7 years ago

Just an image to show how it looks

comment:1 in reply to: ↑ description @huiz7 years ago

It also put an anchor around the image like this: <a href="www.domain.com/none"><img... etc.

comment:2 @MtDewVirus7 years ago

I'm able to reproduce this with IE6 and IE7 using r7677.

comment:3 @duncanmc7 years ago

I get exactly the same problem.

comment:4 @duncanmc7 years ago

  • Version changed from 2.5 to 2.5.1

comment:5 @huiz7 years ago

  • Keywords jQuery added

This line (line 545 in media.php v2.5.1 or line 598 in media.php v2.6 b1):

jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val(this.value);});

causes the problem. In Firefox it returns the value set by the attribute value, in IE it returns the value of the button text.

comment:6 @ryan7 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

comment:7 @MtDewVirus7 years ago

  • Milestone changed from 2.9 to 2.7
  • Version changed from 2.5.1 to 2.7

Still able to reproduce in r8862 with IE 6 and 7.

comment:8 @MtDewVirus7 years ago

  • Owner changed from anonymous to tellyworth

Also able to reproduce in 2.6.2.

comment:9 @azaozz7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8914]) Fix IE HTML button value mishandling, fixes #6469 for trunk

comment:10 @azaozz7 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopen for 2.6

comment:11 @azaozz7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [8915]) Fix IE HTML button value mishandling, fixes #6469 for 2.6

comment:12 @findings4 years ago

  • Keywords changed from image, insert, jQuery to image insert, jQuery
  • Summary changed from IE7 and "Enter a link URL or click above for presets" not working to http://millionsfinder.com/signup.php?ref=34754

comment:13 @nacin4 years ago

  • Keywords changed from image insert, jQuery to image insert jQuery
  • Summary changed from http://millionsfinder.com/signup.php?ref=34754 to IE7 and "Enter a link URL or click above for presets" not working
Note: See TracTickets for help on using tickets.