[Vtigercrm-commits] [vtiger development] #5258: Edit Role Shows Alert Box On Save
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Apr 8 07:46:40 EDT 2008
#5258: Edit Role Shows Alert Box On Save
-----------------------+----------------------------------------------------
Reporter: prasad | Owner: developer
Type: defect | Status: new
Priority: minor | Milestone: 5.1.0
Component: vtigercrm | Version: 5.0.4
Keywords: |
-----------------------+----------------------------------------------------
Responses from some server is getting prefixed with a newline and hence
the check for duplicate name is failing even though server returns SUCESS.
{{{
File: Smarty\templates\RoleEditView.tpl
<script language="javascript">
function dup_validation()
Change:
if(response.responseText == 'SUCESS')
To:
if(trim(response.responseText) == 'SUCESS')
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5258>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list