1 tinyMCEPopup.requireLangPack();
\r
4 var f = document.forms[0], v;
\r
6 tinyMCEPopup.resizeToInnerSize();
\r
8 f.numcols.value = tinyMCEPopup.getWindowArg('numcols', 1);
\r
9 f.numrows.value = tinyMCEPopup.getWindowArg('numcols', 1);
\r
12 function mergeCells() {
\r
13 var args = [], f = document.forms[0];
\r
15 tinyMCEPopup.restoreSelection();
\r
17 if (!AutoValidator.validate(f)) {
\r
18 alert(tinyMCEPopup.getLang('invalid_data'));
\r
22 args["numcols"] = f.numcols.value;
\r
23 args["numrows"] = f.numrows.value;
\r
25 tinyMCEPopup.execCommand("mceTableMergeCells", false, args);
\r
26 tinyMCEPopup.close();
\r
29 tinyMCEPopup.onInit.add(init);
\r