\r
// Validate table size\r
if (colLimit && cols > colLimit) {\r
- alert(inst.getLang('table_col_limit', '', true, {cols : colLimit}));\r
+ inst.windowManager.alert(inst.getLang('table_dlg.col_limit').replace(/\{\$cols\}/g, colLimit));\r
return false;\r
} else if (rowLimit && rows > rowLimit) {\r
- alert(inst.getLang('table_row_limit', '', true, {rows : rowLimit}));\r
+ inst.windowManager.alert(inst.getLang('table_dlg.row_limit').replace(/\{\$rows\}/g, rowLimit));\r
return false;\r
} else if (cellLimit && cols * rows > cellLimit) {\r
- alert(inst.getLang('table_cell_limit', '', true, {cells : cellLimit}));\r
+ inst.windowManager.alert(inst.getLang('table_dlg.cell_limit').replace(/\{\$cells\}/g, cellLimit));\r
return false;\r
}\r
\r