includes/clientside/static/enano-lib-basic.js
changeset 461 717e71109645
parent 436 242353360e37
child 472 bc4b58034f4d
equal deleted inserted replaced
460:3a1c99845ca8 461:717e71109645
   257 }
   257 }
   258 
   258 
   259 var head = document.getElementsByTagName('head')[0];
   259 var head = document.getElementsByTagName('head')[0];
   260 if ( !KILL_SWITCH && !DISABLE_MCE )
   260 if ( !KILL_SWITCH && !DISABLE_MCE )
   261 {
   261 {
   262   var script = document.createElement('script');
   262   if ( IE )
   263   script.type="text/javascript";
   263   {
   264   script.src=scriptPath+"/includes/clientside/tinymce/tiny_mce.js";
   264     document.write('<script type="text/javascript" src="' + scriptPath + '/includes/clientside/tinymce/tiny_mce.js"></script>');
   265   head.appendChild(script);
   265   }
       
   266   else
       
   267   {
       
   268     var script = document.createElement('script');
       
   269     script.type="text/javascript";
       
   270     script.src=scriptPath+"/includes/clientside/tinymce/tiny_mce.js";
       
   271     head.appendChild(script);
       
   272   }
   266 }
   273 }
   267 
   274 
   268 // Do not remove the following comments, they are used by jsres.php.
   275 // Do not remove the following comments, they are used by jsres.php.
   269 /*!START_INCLUDER*/
   276 /*!START_INCLUDER*/
   270 
   277