includes/clientside/tinymce/plugins/table/js/merge_cells.js
changeset 1344 dc96d6c5cd1e
parent 1343 2a31905a567d
child 1345 1de01205143b
--- a/includes/clientside/tinymce/plugins/table/js/merge_cells.js	Thu Jun 02 05:28:28 2011 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-tinyMCEPopup.requireLangPack();
-
-function init() {
-	var f = document.forms[0], v;
-
-	tinyMCEPopup.resizeToInnerSize();
-
-	f.numcols.value = tinyMCEPopup.getWindowArg('numcols', 1);
-	f.numrows.value = tinyMCEPopup.getWindowArg('numrows', 1);
-}
-
-function mergeCells() {
-	var args = [], f = document.forms[0];
-
-	tinyMCEPopup.restoreSelection();
-
-	if (!AutoValidator.validate(f)) {
-		tinyMCEPopup.alert(tinyMCEPopup.getLang('invalid_data'));
-		return false;
-	}
-
-	args["numcols"] = f.numcols.value;
-	args["numrows"] = f.numrows.value;
-
-	tinyMCEPopup.execCommand("mceTableMergeCells", false, args);
-	tinyMCEPopup.close();
-}
-
-tinyMCEPopup.onInit.add(init);