Make WordPress Core

Ticket #18149: 18149.patch

File 18149.patch, 667 bytes (added by SergeyBiryukov, 14 years ago)
  • wp-includes/js/tinymce/plugins/wplink/js/wplink.dev.js

     
    102102                        // If link exists, select proper values.
    103103                        if ( e = ed.dom.getParent(ed.selection.getNode(), 'A') ) {
    104104                                // Set URL and description.
    105                                 inputs.url.val( e.href );
     105                                inputs.url.val( ed.dom.getAttrib(e, 'href') );
    106106                                inputs.title.val( ed.dom.getAttrib(e, 'title') );
    107107                                // Set open in new tab.
    108108                                if ( "_blank" == ed.dom.getAttrib(e, 'target') )