[wp-trac] Re: [WordPress Trac] #6469: IE7 and "Enter a link URL or click above for presets" not working

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 25 08:18:15 GMT 2008


#6469: IE7 and "Enter a link URL or click above for presets" not working
-----------------------------------+----------------------------------------
 Reporter:  terabyten              |        Owner:  anonymous
     Type:  defect                 |       Status:  new      
 Priority:  high                   |    Milestone:  2.5.2    
Component:  Administration         |      Version:  2.5.1    
 Severity:  major                  |   Resolution:           
 Keywords:  image, insert, jQuery  |  
-----------------------------------+----------------------------------------
Changes (by huiz):

  * keywords:  image, insert => image, insert, jQuery

Comment:

 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6469#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list