includes/clientside/static/enano-lib-basic.js
changeset 572 c196e8f336b9
parent 563 0103428e2179
child 581 5e8fd89c02ea
equal deleted inserted replaced
571:66e14e61613e 572:c196e8f336b9
   258     }
   258     }
   259   }
   259   }
   260 }
   260 }
   261 
   261 
   262 var head = document.getElementsByTagName('head')[0];
   262 var head = document.getElementsByTagName('head')[0];
   263 if ( !KILL_SWITCH && !DISABLE_MCE )
       
   264 {
       
   265   if ( IE )
       
   266   {
       
   267     document.write('<script type="text/javascript" src="' + scriptPath + '/includes/clientside/tinymce/tiny_mce.js"></script>');
       
   268   }
       
   269   else
       
   270   {
       
   271     var script = document.createElement('script');
       
   272     script.type="text/javascript";
       
   273     script.src=scriptPath+"/includes/clientside/tinymce/tiny_mce_gzip.js";
       
   274     script.onload = function(e)
       
   275     {
       
   276       tinyMCE_GZ.init(enano_tinymce_gz_options);
       
   277     }
       
   278     head.appendChild(script);
       
   279   }
       
   280 }
       
   281 
   263 
   282 var script = document.createElement('script');
   264 var script = document.createElement('script');
   283 script.type="text/javascript";
   265 script.type="text/javascript";
   284 script.src=scriptPath+"/includes/clientside/firebug/firebug.js";
   266 script.src=scriptPath+"/includes/clientside/firebug/firebug.js";
   285 head.appendChild(script);
   267 head.appendChild(script);