Sha256: 43e3746a97174cfb8dcc6d5e3668b7c347a3e2723ede80a363dfd32abce0c292

Contents?: true

Size: 566 Bytes

Versions: 703

Compression:

Stored size: 566 Bytes

Contents

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);

Version data entries

703 entries across 667 versions & 43 rubygems

Version Path
goldencobra-2.3.4 app/assets/javascripts/goldencobra/html_editors/tinymce_v3/plugins/table/js/merge_cells.js
goldencobra-2.3.3 app/assets/javascripts/goldencobra/html_editors/tinymce_v3/plugins/table/js/merge_cells.js
wagn-1.21.1 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.21.0 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.20.4 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.20.3 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.20.2 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.20.1 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.20.0 rails/assets/tinymce/plugins/table/js/merge_cells.js
ish_lib-0.0.8 vendor/assets/themeforest/alpona/html/js/tiny_mce/plugins/table/js/merge_cells.js
ish_lib-0.0.8 vendor/assets/javascripts/.trash/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.6 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.5 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.4 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.3 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.2 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.1 rails/assets/tinymce/plugins/table/js/merge_cells.js
wagn-1.19.0 rails/assets/tinymce/plugins/table/js/merge_cells.js
tinymce-rails-3.5.11.1 vendor/assets/javascripts/tinymce/plugins/table/js/merge_cells.js
wagn-1.18.6 rails/assets/tinymce/plugins/table/js/merge_cells.js