source: trunk/library/tiny_mce/plugins/table/js/merge_cells.js @ 4829

Revision 4829, 566 bytes checked in by airton, 13 years ago (diff)

Ticket #2146 - Implementacao da funcionalidade de multiplas assinaturas - Adicao da biblioteca TinyMCE

  • Property svn:executable set to *
Line 
1tinyMCEPopup.requireLangPack();
2
3var MergeCellsDialog = {
4        init : function() {
5                var f = document.forms[0];
6
7                f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1);
8                f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1);
9        },
10
11        merge : function() {
12                var func, f = document.forms[0];
13
14                tinyMCEPopup.restoreSelection();
15
16                func = tinyMCEPopup.getWindowArg('onaction');
17
18                func({
19                        cols : f.numcols.value,
20                        rows : f.numrows.value
21                });
22
23                tinyMCEPopup.close();
24        }
25};
26
27tinyMCEPopup.onInit.add(MergeCellsDialog.init, MergeCellsDialog);
Note: See TracBrowser for help on using the repository browser.