[Vtigercrm-commits] [vtiger development] #7594: Email edit box error
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Nov 9 08:42:12 PST 2012
#7594: Email edit box error
------------------------+---------------------------------------------------
Reporter: jcrisp | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 6.0 ea
Severity: Medium | Keywords:
------------------------+---------------------------------------------------
In various modules Detail view, when you click Email or Secondary Email to
edit it shows extra characters after the box similar to this :
Secondary Email [ ]' />
If you then click another box, you get the throbber.
Wondering if these are related to :
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7533
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7544
The error is generated at 946 from the following :
/include/ListView/ListViewController.php
if($current_user->internal_mailer
== 1){
//check added for email
link in user detailview
$value = "<a
class='emailField'
onclick=\"Vtiger_Helper_Js.getInternalMailer($recordId,".
"'$fieldName');\">".textlength_check($value)."</a>";
I also think that this makes the following wrong somehow which affects
some of the email bugs ???
vtiger6/modules/Vtiger/uitypes/Email.php at line 28
if ($internalMailer == 1) {
$fieldName = $this->get('field')->get('name');
$value = "<a class='emailField'
onclick=\"Vtiger_Helper_Js.getInternalMailer($recordId," .
"'$fieldName');\">" .
textlength_check($value) . "</a>";
Not sure exactly what the CORRECT code should though !
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7594>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list