projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa17ab
)
Pman.Tab.AdminCompanies.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 07:56:17 +0000
(15:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 12 May 2011 07:56:17 +0000
(15:56 +0800)
Pman.Tab.AdminCompanies.js
patch
|
blob
|
history
diff --git
a/Pman.Tab.AdminCompanies.js
b/Pman.Tab.AdminCompanies.js
index
544a261
..
96b49e8
100644
(file)
--- a/
Pman.Tab.AdminCompanies.js
+++ b/
Pman.Tab.AdminCompanies.js
@@
-483,7
+483,11
@@
Pman.Tab.AdminCompanies = new Roo.util.Observable({
dataIndex : 'email',
header : 'Email',
width : 100,
- renderer : function(v) { return String.format('{0}', v); }
+ renderer : function (v) {
+ return (v.length && v.indexOf('@') > 0 ) ?
+ String.format('<a href="mailto:{0}">{0}</a>',v) : v;
+
+ }
},
{
xtype: 'ColumnModel',