Changeset 6547 for CKEditor/trunk


Ignore:
Timestamp:
03/14/11 15:44:48 (4 years ago)
Author:
Saare
Message:

#7300: Numeric values were not loaded correctly in the link dialog.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r6545 r6547  
    6767                <li><a href="http://dev.ckeditor.com/ticket/7084">#7084</a> : SCAYT dialog window is now working properly with more than one editor instance in a page.</li> 
    6868                <li><a href="http://dev.ckeditor.com/ticket/6662">#6662</a> : [FF] List structure pasting now works with FF4 (RC), which is caused by a regression from FF3.x.</li> 
     69                <li><a href="http://dev.ckeditor.com/ticket/7300">#7300</a> : Link dialog now loads numeric values correctly.</li> 
    6970                <li>Updated the following language files:<ul> 
    7071                        <li><a href="http://dev.ckeditor.com/ticket/7124">#7124</a> : Czech;</li> 
  • CKEditor/trunk/_source/plugins/link/dialogs/link.js

    r6427 r6547  
    197197                                        while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[2] ) ) ) 
    198198                                        { 
    199                                                 if ( featureMatch[2] == 'yes' || featureMatch[2] == '1' ) 
     199                                                // Some values should remain numbers (#7300) 
     200                                                if ( ( featureMatch[2] == 'yes' || featureMatch[2] == '1' ) && !( featureMatch[1] in { height:1, width:1, top:1, left:1 } ) ) 
    200201                                                        retval.target[ featureMatch[1] ] = true; 
    201202                                                else if ( isFinite( featureMatch[2] ) ) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy