updating tinymce to 1.43 and fixed some bugs
This commit is contained in:
parent
98dc54e16d
commit
914f29b169
209 changed files with 2183 additions and 1506 deletions
|
|
@ -1,6 +1,4 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<html>
|
||||
<head>
|
||||
<title>{$lang_insert_flash}</title>
|
||||
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||
|
|
@ -33,7 +31,7 @@ if (url != null)
|
|||
formObj.height.value = swfheight;
|
||||
}
|
||||
formObj.file.value = swffile;
|
||||
formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo'));
|
||||
formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true);
|
||||
|
||||
// Handle file browser
|
||||
if (tinyMCE.getParam("file_browser_callback") != null) {
|
||||
|
|
@ -45,13 +43,21 @@ if (url != null)
|
|||
html += ' onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');"';
|
||||
html += ' onmouseout="tinyMCE.restoreClass(this);"';
|
||||
html += ' onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');"';
|
||||
html += ' onclick="javascript:tinyMCE.openFileBrowser(\'file\',document.forms[0].file.value,\'flash\');"';
|
||||
html += ' onclick="javascript:tinyMCE.openFileBrowser(\'file\',document.forms[0].file.value,\'flash\',window);"';
|
||||
html += ' width="20" height="18" border="0" title="' + tinyMCE.getLang('lang_browse') + '"';
|
||||
html += ' class="mceButtonNormal" alt="' + tinyMCE.getLang('lang_browse') + '" />';
|
||||
|
||||
document.getElementById('browser').innerHTML = html;
|
||||
}
|
||||
|
||||
// Auto select flash in list
|
||||
if (typeof(tinyMCEFlashList) != "undefined" && tinyMCEFlashList.length > 0) {
|
||||
for (var i=0; i<formObj.link_list.length; i++) {
|
||||
if (formObj.link_list.options[i].value == tinyMCE.getWindowArg('swffile'))
|
||||
formObj.link_list.options[i].selected = true;
|
||||
}
|
||||
}
|
||||
|
||||
window.focus();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue