includes/clientside/tinymce/themes/advanced/js/charmap.js
changeset 459 31c23016ab62
parent 395 fa4c5ecb7c9a
--- a/includes/clientside/tinymce/themes/advanced/js/charmap.js	Fri Feb 22 12:51:53 2008 -0500
+++ b/includes/clientside/tinymce/themes/advanced/js/charmap.js	Sun Feb 24 12:50:52 2008 -0500
@@ -264,7 +264,7 @@
 ];
 
 tinyMCEPopup.onInit.add(function() {
-	tinyMCEPopup.dom.setHTML('charmap', renderCharMapHTML());
+	tinyMCEPopup.dom.setHTML('charmapView', renderCharMapHTML());
 });
 
 function renderCharMapHTML() {
@@ -276,11 +276,8 @@
 		if (charmap[i][2]==true) {
 			cols++;
 			html += ''
-				+ '<td width="' + tdWidth + '" height="' + tdHeight + '" class="charmap"'
-				+ ' onmouseover="this.className=\'charmapOver\';'
-				+ 'previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');"'
-				+ ' onmouseout="this.className=\'charmap\';"'
-				+ ' nowrap="nowrap" onclick="insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');"><a style="text-decoration: none;" onfocus="previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');" href="javascript:insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');" onclick="return false;" onmousedown="return false;" title="' + charmap[i][3] + '">'
+				+ '<td class="charmap">'
+				+ '<a onmouseover="previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');" onfocus="previewChar(\'' + charmap[i][1].substring(1,charmap[i][1].length) + '\',\'' + charmap[i][0].substring(1,charmap[i][0].length) + '\',\'' + charmap[i][3] + '\');" href="javascript:void(0)" onclick="insertChar(\'' + charmap[i][1].substring(2,charmap[i][1].length-1) + '\');" onclick="return false;" onmousedown="return false;" title="' + charmap[i][3] + '">'
 				+ charmap[i][1]
 				+ '</a></td>';
 			if ((cols+1) % charsPerRow == 0)