--- a/includes/clientside/tinymce/themes/advanced/editor_template_src.js Thu Jun 26 18:05:42 2008 -0400
+++ b/includes/clientside/tinymce/themes/advanced/editor_template_src.js Thu Jun 26 20:55:13 2008 -0400
@@ -1,5 +1,5 @@
/**
- * $Id: editor_template_src.js 829 2008-04-30 14:35:32Z spocke $
+ * $Id: editor_template_src.js 852 2008-05-27 05:52:09Z spocke $
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
@@ -158,7 +158,7 @@
return false;
},
- _importClasses : function() {
+ _importClasses : function(e) {
var ed = this.editor, c = ed.controlManager.get('styleselect');
if (c.getLength() == 0) {
@@ -188,8 +188,8 @@
});
c.onPostRender.add(function(ed, n) {
- Event.add(n, 'focus', t._importClasses, t);
- Event.add(n, 'mousedown', t._importClasses, t);
+ Event.add(n.id + '_text', 'focus', t._importClasses, t);
+ Event.add(n.id + '_text', 'mousedown', t._importClasses, t);
});
}