summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/plugins/table/js/table.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-07-18 14:59:01 +0000
committeralecpl <alec@alec.pl>2008-07-18 14:59:01 +0000
commit18240a9201d193a5a2420f8644fa05b7bfbceeec (patch)
tree79f1f65e1eede1f8f5e8bf87960594c286b600e8 /program/js/tiny_mce/plugins/table/js/table.js
parentbc0fe54235ae4f5cd4a74be91beb1f9953eb7b03 (diff)
- Updated TinyMCE to version 3.1.0.1
Diffstat (limited to 'program/js/tiny_mce/plugins/table/js/table.js')
-rw-r--r--program/js/tiny_mce/plugins/table/js/table.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/tiny_mce/plugins/table/js/table.js b/program/js/tiny_mce/plugins/table/js/table.js
index 768c26e27..a8e112c2f 100644
--- a/program/js/tiny_mce/plugins/table/js/table.js
+++ b/program/js/tiny_mce/plugins/table/js/table.js
@@ -46,13 +46,13 @@ function insertTable() {
// Validate table size
if (colLimit && cols > colLimit) {
- alert(inst.getLang('table_col_limit', '', true, {cols : colLimit}));
+ inst.windowManager.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit));
return false;
} else if (rowLimit && rows > rowLimit) {
- alert(inst.getLang('table_row_limit', '', true, {rows : rowLimit}));
+ inst.windowManager.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit));
return false;
} else if (cellLimit && cols * rows > cellLimit) {
- alert(inst.getLang('table_cell_limit', '', true, {cells : cellLimit}));
+ inst.windowManager.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit));
return false;
}