Vgr: v5.0.4 Bugs &Errors
From Kb_JMY(晉明夷)
VtigerCRM v5.0.4 Bugs & Errors
myName@cs.mysite-hk.com -> invalid email address?
- Ref:
- forums.vtiger.com: myName@cs.mysite-hk.com -> invalid email address?
- forums.vtiger.com: v5.0.3 Problem of Email format "MyName@scd-ulp.u-strasbg.fr"
- Solution: <-- Not Checked!
- Change the code in:
- "htdocs-vtigerCRM-include-js-general.js"
- "htdocs-vtigerCRM-include-js-QuickCreate.js" (the same code as the first file, I do not know when this code is called)
- search and find the old code:
if (!re.test(currObj.value)) {
alert(alert_arr.ENTER_VALID + fldLabel)
currObj.focus()
return false
}
- Change them to:
if (!re.test(currObj.value)) {
if (type.toUpperCase()=="EMAIL") {
alert(alert_arr.ENTER_VALID + fldLabel + ". Our DB saved the email, but you must verify it!")
currObj.focus()
return true
} else {
alert(alert_arr.ENTER_VALID + fldLabel)
currObj.focus()
return false
}
}

