includes/clientside/tinymce/plugins/table/js/table.js
changeset 588 20484deb89cd
parent 543 dffcbfbc4e59
child 778 57ce13805b6f
--- a/includes/clientside/tinymce/plugins/table/js/table.js	Thu Jun 26 18:05:42 2008 -0400
+++ b/includes/clientside/tinymce/plugins/table/js/table.js	Thu Jun 26 20:55:13 2008 -0400
@@ -46,13 +46,13 @@
 
 	// 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;
 	}