Merge branch 'master' of git://github.com/colosa/processmaker into BUG-0000
This commit is contained in:
@@ -920,6 +920,15 @@ function createReportTable()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//validate process
|
||||||
|
if(Ext.getCmp('PROCESS').getValue().trim() == '') {
|
||||||
|
Ext.getCmp('PROCESS').focus();
|
||||||
|
PMExt.error(_('ID_ERROR'), _('ID_PROCESS_IS_REQUIRED'), function(){
|
||||||
|
Ext.getCmp('PROCESS').focus();
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// validate table name length
|
// validate table name length
|
||||||
if(tableName.length < 4) {
|
if(tableName.length < 4) {
|
||||||
PMExt.error(_('ID_ERROR'), _('ID_TABLE_NAME_TOO_SHORT'), function(){
|
PMExt.error(_('ID_ERROR'), _('ID_TABLE_NAME_TOO_SHORT'), function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user