Closed (fixed)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2010 at 09:06 UTC
Updated:
31 Jan 2011 at 07:20 UTC
Currently if you have 3.4.1, Drupal.ckeditorCompareVersion('3.3.2') returns false.
The code:
for (var x in ckver) {
if (ckver[x]<version[x]) {
return false;
}
}
return true;
should be changed to:
for (var x in ckver) {
if (ckver[x]<version[x]) {
return false;
}
elseif (ckver[x]>version[x]) {
return true;
}
}
return true;
This is a potential bug, as it only used in the config file to compare against 3.1 version.
Comments
Comment #1
dczepierga commentedReally thx for your attention.
I commit changes to D6 and D7 version of CKEditor module.
Greetings