BUG 11255. PM allows creating RT without validating if process is selected. SOLVED
Was added a validation to check if the process is selected before saving the Report Table.
This commit is contained in:
@@ -910,8 +910,7 @@ function createReportTable()
|
|||||||
{
|
{
|
||||||
var tableName = Ext.getCmp('REP_TAB_NAME').getValue().trim();
|
var tableName = Ext.getCmp('REP_TAB_NAME').getValue().trim();
|
||||||
var tableDescription = Ext.getCmp('REP_TAB_DSC').getValue().trim();
|
var tableDescription = Ext.getCmp('REP_TAB_DSC').getValue().trim();
|
||||||
var process = Ext.getCmp('PROCESS').getValue().trim();
|
|
||||||
|
|
||||||
//validate table name
|
//validate table name
|
||||||
if(Ext.getCmp('REP_TAB_NAME').getValue().trim() == '') {
|
if(Ext.getCmp('REP_TAB_NAME').getValue().trim() == '') {
|
||||||
Ext.getCmp('REP_TAB_NAME').focus();
|
Ext.getCmp('REP_TAB_NAME').focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user