includes/clientside/static/enano-lib-basic.js
changeset 348 87e08a6e4fec
parent 335 67bd3121a12e
child 420 301f546688d1
--- a/includes/clientside/static/enano-lib-basic.js	Thu Jan 03 18:39:19 2008 -0500
+++ b/includes/clientside/static/enano-lib-basic.js	Wed Jan 16 13:55:49 2008 -0500
@@ -63,6 +63,11 @@
 // dummy tinyMCE object
 var tinyMCE = new Object();
 
+if ( typeof(DISABLE_MCE) == undefined )
+{
+  var DISABLE_MCE = false;
+}
+
 // Obsolete JSON kill switch
 function disableJSONExts() { };
 
@@ -251,7 +256,7 @@
 }
 
 var head = document.getElementsByTagName('head')[0];
-if ( !KILL_SWITCH )
+if ( !KILL_SWITCH && !DISABLE_MCE )
 {
   var script = document.createElement('script');
   script.type="text/javascript";