X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=web%2Flibs%2Ftiny_mce%2Fplugins%2Ftable%2Fjs%2Fmerge_cells.js;fp=web%2Flibs%2Ftiny_mce%2Fplugins%2Ftable%2Fjs%2Fmerge_cells.js;h=0000000000000000000000000000000000000000;hb=36ed114046cbe3d72a3589230e9f306a54fcc79d;hp=7ee4bf04015aa90ca0beda962776474f7486165f;hpb=281c96e95451269f2614684b8de5be25862c8374;p=mtweb diff --git a/web/libs/tiny_mce/plugins/table/js/merge_cells.js b/web/libs/tiny_mce/plugins/table/js/merge_cells.js deleted file mode 100644 index 7ee4bf0..0000000 --- a/web/libs/tiny_mce/plugins/table/js/merge_cells.js +++ /dev/null @@ -1,27 +0,0 @@ -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);