mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
o upgrade tinymce to 2.0.6.1. get it out of the web-client source tree and do the extract into the assembling war file.
o fix submit error in forms. i rejiggered ids and didn't update the code to send the right ones for submit. o improvements to how ajax requests are made. centralizing that code, serializing requests, and adding a gmail style "Loading..." thing (mostly for diagnostic purposes). o tinymce fixes - still a lot of work to be done. reduced (by way too much) the number of buttons in the toolbar - i'll iron that out today. it's still sizing itself irresponsibly - and i really want a way to get blur events. may need to patch it. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,60 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{$lang_table_merge_cells_title}</title>
|
||||
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
// Disable auto resize
|
||||
tinyMCE.getWindowArg('mce_windowresize', false);
|
||||
|
||||
function init() {
|
||||
var formObj = document.forms[0];
|
||||
|
||||
formObj.numcols.value = tinyMCE.getWindowArg('numcols', 1);
|
||||
formObj.numrows.value = tinyMCE.getWindowArg('numrows', 1);
|
||||
|
||||
// Autoresize and focus
|
||||
TinyMCEPopup_autoResize();
|
||||
window.focus();
|
||||
}
|
||||
|
||||
function mergeCells() {
|
||||
if (window.opener) {
|
||||
var args = new Array();
|
||||
var formObj = document.forms[0];
|
||||
|
||||
args["numcols"] = formObj.numcols.value;
|
||||
args["numrows"] = formObj.numrows.value;
|
||||
|
||||
window.opener.tinyMCE.execCommand("mceTableMergeCells", false, args);
|
||||
top.close();
|
||||
}
|
||||
}
|
||||
|
||||
function cancelAction() {
|
||||
top.close();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="window.focus();init();" style="margin: 8px">
|
||||
<form onsubmit="insertTable();return false;">
|
||||
<fieldset>
|
||||
<legend>{$lang_table_merge_cells_title}</legend>
|
||||
<table border="0" cellpadding="0" cellspacing="3" width="200">
|
||||
<tr>
|
||||
<td>{$lang_insert_table_cols}:</td>
|
||||
<td align="right"><input type="text" name="numcols" value="" style="width: 30px" /></td>
|
||||
<td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang_insert_table_rows}:</td>
|
||||
<td align="right"><input type="text" name="numrows" value="" style="width: 30px" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="button" id="insert" name="insert" value="{$lang_update}" onclick="mergeCells();"></td>
|
||||
<td align="right"><input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="cancelAction();"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user