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