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:
Julio Cesar Laura
2013-01-09 13:52:06 -04:00
parent 08cd5ae5ff
commit 995aa551a9

View File

@@ -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);