BUG 10322 No es posible combinar Select con Self service SOLVED
- The validation was incorrect with this combination - Fix validation for this combination
This commit is contained in:
@@ -278,7 +278,10 @@
|
|||||||
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
|
||||||
if (document.getElementById(selectId).value == '') {
|
if (document.getElementById(selectId).value == '' &&
|
||||||
|
document.getElementById("form[TASKS]["+optionSelect+"][TAS_ASSIGN_TYPE]").value != 'SELF_SERVICE' &&
|
||||||
|
document.getElementById("form[TASKS]["+optionSelect+"][TAS_ASSIGN_TYPE]").value != 'SELF_SERVICE_EVALUATE'
|
||||||
|
) {
|
||||||
enabledButton();
|
enabledButton();
|
||||||
vtext.failed();
|
vtext.failed();
|
||||||
alert(G_STRINGS.ID_ASSIGN_CASE_TO_USER);
|
alert(G_STRINGS.ID_ASSIGN_CASE_TO_USER);
|
||||||
|
|||||||
Reference in New Issue
Block a user