--- a/includes/clientside/static/editor.js Wed Jul 09 22:40:41 2008 -0400
+++ b/includes/clientside/static/editor.js Wed Jul 09 22:49:06 2008 -0400
@@ -876,7 +876,11 @@
window.ajaxSetEditorLoading = function()
{
- var ed = tinyMCE.get('ajaxEditArea');
+ var ed = false;
+ if ( window.tinyMCE )
+ {
+ ed = tinyMCE.get('ajaxEditArea');
+ }
editor_loading = true;
if ( ed )
{
@@ -907,7 +911,11 @@
window.ajaxUnSetEditorLoading = function()
{
editor_loading = false;
- var ed = tinyMCE.get('ajaxEditArea');
+ var ed = false;
+ if ( window.tinyMCE )
+ {
+ ed = tinyMCE.get('ajaxEditArea');
+ }
if ( ed )
{
ed.setProgressState(0);