Merge pull request #363 from brayanpereyra/BUG-9498
BUG 9498 Don't exits validation for self service SOLVED
This commit is contained in:
@@ -175,6 +175,7 @@
|
|||||||
<script>
|
<script>
|
||||||
// deviration type
|
// deviration type
|
||||||
var rouType = '{$PROCESS.ROU_TYPE}';
|
var rouType = '{$PROCESS.ROU_TYPE}';
|
||||||
|
var userHidden = '{$data.NEXT_TASK.USR_HIDDEN_FIELD}';
|
||||||
{literal}
|
{literal}
|
||||||
|
|
||||||
// option select
|
// option select
|
||||||
@@ -250,7 +251,7 @@
|
|||||||
var flagSelect = false;
|
var flagSelect = false;
|
||||||
|
|
||||||
// verify type of derivation
|
// verify type of derivation
|
||||||
if (rouType == 'PARALLEL') {
|
if (rouType == 'PARALLEL' || rouType == 'PARALLEL-BY-EVALUATION') {
|
||||||
// verify all value select
|
// verify all value select
|
||||||
var selectsForm = document.getElementsByTagName("select");
|
var selectsForm = document.getElementsByTagName("select");
|
||||||
for (var i = 0 ; i <= selectsForm.length ; i++) {
|
for (var i = 0 ; i <= selectsForm.length ; i++) {
|
||||||
@@ -273,7 +274,7 @@
|
|||||||
} else {
|
} else {
|
||||||
var selectId = "form[TASKS]["+optionSelect+"][USR_UID]";
|
var selectId = "form[TASKS]["+optionSelect+"][USR_UID]";
|
||||||
|
|
||||||
if (typeof(document.getElementById(selectId)) != 'undefined' && document.getElementById(selectId) != null) {
|
if (typeof(document.getElementById(selectId)) != 'undefined' && document.getElementById(selectId) != null && userHidden == '') {
|
||||||
var vtext = new input(document.getElementById(selectId));
|
var vtext = new input(document.getElementById(selectId));
|
||||||
|
|
||||||
// verify value select the option select
|
// verify value select the option select
|
||||||
|
|||||||
Reference in New Issue
Block a user