Index: CKEditor/trunk/CHANGES.html
===================================================================
--- CKEditor/trunk/CHANGES.html (revision 6545)
+++ CKEditor/trunk/CHANGES.html (revision 6547)
@@ -67,4 +67,5 @@
#7084 : SCAYT dialog window is now working properly with more than one editor instance in a page.
#6662 : [FF] List structure pasting now works with FF4 (RC), which is caused by a regression from FF3.x.
+ #7300 : Link dialog now loads numeric values correctly.
Updated the following language files:
- #7124 : Czech;
Index: CKEditor/trunk/_source/plugins/link/dialogs/link.js
===================================================================
--- CKEditor/trunk/_source/plugins/link/dialogs/link.js (revision 6545)
+++ CKEditor/trunk/_source/plugins/link/dialogs/link.js (revision 6547)
@@ -197,5 +197,6 @@
while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[2] ) ) )
{
- if ( featureMatch[2] == 'yes' || featureMatch[2] == '1' )
+ // Some values should remain numbers (#7300)
+ if ( ( featureMatch[2] == 'yes' || featureMatch[2] == '1' ) && !( featureMatch[1] in { height:1, width:1, top:1, left:1 } ) )
retval.target[ featureMatch[1] ] = true;
else if ( isFinite( featureMatch[2] ) )