20 lines
457 B
JavaScript
20 lines
457 B
JavaScript
// (self.length != 0) ?
|
|
// self :
|
|
// (getContextData('2', 'cds.PROCESS_JOBID', '') == '-') ?
|
|
// self :
|
|
// getContextData('2', 'cds.PROCESS_JOBID', '')
|
|
|
|
// (self.length != 0) ?
|
|
// self :
|
|
// getContextData('2', 'cds.MID', '')
|
|
|
|
'-', 1, '-'
|
|
|
|
getValue(self, self.length, getContextData('2', 'cds.MID', ''));
|
|
|
|
function getValue(value, length, mid) {
|
|
if (length !== 0 || mid === '-')
|
|
return value;
|
|
else
|
|
return mid;
|
|
} |