Merge pull request #1833 from marcoAntonioNina/BUG-12257
BUG-12257 No es posible crear un Report Table-New Version... SOLVED
This commit is contained in:
@@ -979,15 +979,16 @@ function createReportTable()
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//validate process
|
//validate process
|
||||||
if(Ext.getCmp('PROCESS').getValue().trim() == '') {
|
PRO_UID = (PRO_UID !== false) ? PRO_UID : ((Ext.getCmp('PROCESS').getValue().trim() != '') ? Ext.getCmp('PROCESS').getValue().trim() : '');
|
||||||
Ext.getCmp('PROCESS').focus();
|
if(PRO_UID == '') {
|
||||||
PMExt.error(_('ID_ERROR'), _('ID_PROCESS_IS_REQUIRED'), function(){
|
Ext.getCmp('PROCESS').focus();
|
||||||
Ext.getCmp('PROCESS').focus();
|
PMExt.error(_('ID_ERROR'), _('ID_PROCESS_IS_REQUIRED'), function(){
|
||||||
});
|
Ext.getCmp('PROCESS').focus();
|
||||||
return false;
|
});
|
||||||
}
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// validate table name length
|
// validate table name length
|
||||||
if(tableName.length < 4) {
|
if(tableName.length < 4) {
|
||||||
|
|||||||
Reference in New Issue
Block a user