[Vtigercrm-commits] [vtiger development] #7490: On screen text formatting of uitype 19 fields on detailview ajax edit
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Aug 10 10:19:28 PDT 2012
#7490: On screen text formatting of uitype 19 fields on detailview ajax edit
------------------------+---------------------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 5.4.0
Severity: Medium | Keywords:
------------------------+---------------------------------------------------
https://forums.vtiger.com/viewtopic.php?f=139&t=54504
{{{
Index: include/js/dtlviewajax.js
===================================================================
--- include/js/dtlviewajax.js (revisión: 5232)
+++ include/js/dtlviewajax.js (copia de trabajo)
@@ -452,7 +452,7 @@
desc = desc.replace(/(^|[\n
])((www|ftp)\.[\w\-]+\.[\w\-.\~]+(?:\/[^ \"\t\n\r<]*)?)/g, "$1<a
href=\"http://$2\" target=\"_blank\">$2</a>");
desc = desc.replace(/(^|[\n
])([a-z0-9&\-_.]+?)@([\w\-]+\.([\w\-\.]+\.)*[\w]+)/i, "$1<a
href=\"mailto:$2@$3\">$2@$3</a>");
desc = desc.replace(/,\"|\.\"|\)\"|\)\.\"|\.\)\"/, "\"");
- desc = desc.replace(/[\n\r]+/g, "<br> ");
+ desc = desc.replace(/[\n\r]/g, "<br> ");
getObj(dtlView).innerHTML = desc;
}
else
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7490>
vtiger development <http://trac.vtiger.com/>
vtiger CRM
More information about the vtigercrm-commits
mailing list