[Vtigercrm-commits] [vtiger development] #5257: User Creation Shows Alert Box: SUCCESS

vtiger development vtiger-tickets at trac.vtiger.com
Tue Apr 8 07:44:42 EDT 2008


#5257: User Creation Shows Alert Box: SUCCESS
-----------------------+----------------------------------------------------
 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
 SUCCESS.

 {{{
 File: Smarty\templates\UserEditView.tpl

 Under the following block:
 <script language="javascript">
 function check_duplicate()

 Change:
 if(response.responseText == 'SUCCESS')

 To:
 if(trim(response.responseText) == 'SUCCESS')
 }}}

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5257>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list