fix editor state toggle

This commit is contained in:
Doug Bell 2010-02-23 16:57:42 -06:00
parent c9694d3e63
commit 704518007f

View file

@ -408,7 +408,7 @@
Event.addListener( button, "click", function () {
if ( editor.editorState == "off" ) {
editor.editorState = "off";
editor.editorState = "on";
var fc = editor.get('element').previousSibling,
el = editor.get('element');