includes/clientside/tinymce/tiny_mce_gzip_src.js
changeset 582 a38876c0793c
parent 551 3acd624d4f4f
--- a/includes/clientside/tinymce/tiny_mce_gzip_src.js	Sun Jun 22 18:13:59 2008 -0400
+++ b/includes/clientside/tinymce/tiny_mce_gzip_src.js	Tue Jun 24 23:37:23 2008 -0400
@@ -8,7 +8,7 @@
 		debug : false,
 		suffix : ''
 	},
-
+  
 	init : function(s, cb, sc) {
 		var t = this, n, i, nl = document.getElementsByTagName('script');
 
@@ -17,12 +17,7 @@
 
 		s = t.settings;
 
-		for (i=0; i<nl.length; i++) {
-			n = nl[i];
-
-			if (n.src && n.src.indexOf('tiny_mce') != -1)
-				t.baseURL = n.src.substring(0, n.src.lastIndexOf('/'));
-		}
+		t.baseURL = scriptPath + '/includes/clientside/tinymce';
 
 		if (!t.coreLoaded)
 			t.loadScripts(1, s.themes, s.plugins, s.languages, cb, sc);