BUG-11275 Error en la creacion de Case Scheduler SOLVED
- No validation. - Was add validation for name case scheduler.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user