PHP 5.3.29-pl0-gentoo
Preview: merge_cells.js Size: 566 B
/home/www/idcceurope.com/www/idcceurope.com/admin/jscripts/tiny_mce/plugins/table/js/merge_cells.js

tinyMCEPopup.requireLangPack();

var MergeCellsDialog = {
	init : function() {
		var f = document.forms[0];

		f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1);
		f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1);
	},

	merge : function() {
		var func, f = document.forms[0];

		tinyMCEPopup.restoreSelection();

		func = tinyMCEPopup.getWindowArg('onaction');

		func({
			cols : f.numcols.value,
			rows : f.numrows.value
		});

		tinyMCEPopup.close();
	}
};

tinyMCEPopup.onInit.add(MergeCellsDialog.init, MergeCellsDialog);

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
8.33 KB lrw-r----- 2011-10-20 21:44:19
Edit Download
566 B lrw-r----- 2011-10-20 21:44:21
Edit Download
7.04 KB lrw-r----- 2011-10-20 21:44:23
Edit Download
13.74 KB lrw-r----- 2011-10-20 21:44:24
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).