Ticket #6469 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 10 months ago

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

Reported by: terabyten Owned by: tellyworth
Priority: high Milestone: 2.7
Component: Administration Version: 2.7
Severity: major Keywords: image insert jQuery
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

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

Change History

Just an image to show how it looks

comment:1 in reply to: ↑ description   huiz4 years ago

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

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

I get exactly the same problem.

  • Version changed from 2.5 to 2.5.1

comment:5   huiz4 years ago

  • Keywords insert, jQuery added; insert removed

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   ryan4 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

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

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

  • Owner changed from anonymous to tellyworth

Also able to reproduce in 2.6.2.

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

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

  • Status changed from closed to reopened
  • Resolution fixed deleted

Reopen for 2.6

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

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

  • Keywords image added; image, removed
  • Summary changed from IE7 and "Enter a link URL or click above for presets" not working to http://millionsfinder.com/signup.php?ref=34754
  • Keywords insert added; insert, removed
  • 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.