WordPress.org

Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 8 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 11 years ago.
Just an image to show how it looks

Download all attachments as: .zip

Change History (14)

@terabyten
11 years ago

Just an image to show how it looks

#1 in reply to: ↑ description @huiz
11 years ago

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

#2 @MtDewVirus
11 years ago

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

#3 @duncanmc
11 years ago

I get exactly the same problem.

#4 @duncanmc
11 years ago

  • Version changed from 2.5 to 2.5.1

#5 @huiz
11 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.

#6 @ryan
11 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

#7 @MtDewVirus
11 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.

#8 @MtDewVirus
11 years ago

  • Owner changed from anonymous to tellyworth

Also able to reproduce in 2.6.2.

#9 @azaozz
11 years ago

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

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

#10 @azaozz
11 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopen for 2.6

#11 @azaozz
11 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

#12 @findings
8 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

#13 @nacin
8 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.