BUG-11275 Error en la creacion de Case Scheduler SOLVED

- No validation.
- Was add validation for name case scheduler.
This commit is contained in:
Marco Antonio Nina
2013-05-29 11:54:59 -04:00
parent d750e635b1
commit da804037c6
4 changed files with 4 additions and 4 deletions

View File

@@ -773,7 +773,7 @@ function validateSchedulerFields(oForm) {
var listNames = document.getElementById('form[SCH_LIST]').value;
listNames = listNames.split("^");
for (var i= 1; i<listNames.length; i++) {
if (schedulerTitle == listNames[i]) {
if (schedulerTitle.toLowerCase() == (listNames[i]).toLowerCase()) {
document.getElementById('form[SCH_NAME]').focus();
msgBox("@G::LoadTranslation(ID_DUPLICATE_CASE_SCHEDULER_NAME)", 'alert');
return false;

View File

@@ -634,7 +634,7 @@ function validateSchedulerFields(oForm) {
var listNames = document.getElementById('form[SCH_LIST]').value;
listNames = listNames.split("^");
for (var i= 1; i<listNames.length; i++) {
if (schedulerTitle.toLowerCase() == (listNames[i]).toLowerCase()) {
if (schedulerTitle == listNames[i]) {
document.getElementById('form[SCH_NAME]').focus();
msgBox("@G::LoadTranslation(ID_DUPLICATE_CASE_SCHEDULER_NAME)", 'alert');