BUG 000 momentarily reverted to rc5 fro pmTables (fixes)

This commit is contained in:
Erik Amaru Ortiz
2011-09-05 16:40:47 -04:00
parent f56d333bf7
commit f35f3bb39f
3 changed files with 21 additions and 9 deletions

View File

@@ -662,6 +662,11 @@ function createReportTable()
PMExt.error(_('ID_ERROR'),_('ID_PMTABLES_ALERT1') + ' <b>' + row.data['field_name']+'</b>');
return false;
}
if (row.data['field_name'] == 'DESC') {
PMExt.error(_('ID_ERROR'), 'The word "DESC" is reserved by the database engine please set another one.');
return false;
}
// validate that fieldname is not empty
if(row.data['field_name'].trim() == '') {