2 tinyMCEPopup.resizeToInnerSize();
\r
4 var formObj = document.forms[0];
\r
6 formObj.numcols.value = tinyMCE.getWindowArg('numcols', 1);
\r
7 formObj.numrows.value = tinyMCE.getWindowArg('numrows', 1);
\r
10 function mergeCells() {
\r
11 var args = new Array();
\r
12 var formObj = document.forms[0];
\r
14 if (!AutoValidator.validate(formObj)) {
\r
15 alert(tinyMCE.getLang('lang_invalid_data'));
\r
19 args["numcols"] = formObj.numcols.value;
\r
20 args["numrows"] = formObj.numrows.value;
\r
22 tinyMCEPopup.execCommand("mceTableMergeCells", false, args);
\r
23 tinyMCEPopup.close();
\r