[kupu-checkins] r44667 - kupu/trunk/kupu/common
duncan at codespeak.net
duncan at codespeak.net
Mon Jul 2 15:56:15 CEST 2007
Author: duncan
Date: Mon Jul 2 15:56:14 2007
New Revision: 44667
Modified:
kupu/trunk/kupu/common/kupuspellchecker.js
Log:
Fix for Plone ticket #6440
Modified: kupu/trunk/kupu/common/kupuspellchecker.js
==============================================================================
--- kupu/trunk/kupu/common/kupuspellchecker.js (original)
+++ kupu/trunk/kupu/common/kupuspellchecker.js Mon Jul 2 15:56:14 2007
@@ -13,7 +13,9 @@
KupuSpellChecker.prototype.initialize = function(editor) {
this.editor = editor;
- addEventHandler(this.button, 'click', this.check, this);
+ if (this.button) {
+ addEventHandler(this.button, 'click', this.check, this);
+ }
};
KupuSpellChecker.prototype.check = function() {
More information about the kupu-checkins
mailing list