mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-05 10:29:43 +00:00
(js) Support SOGoLDAPContactInfoAttrbute
This commit is contained in:
@@ -131,7 +131,12 @@
|
||||
* @return a string representing the fullname
|
||||
*/
|
||||
User.prototype.$fullname = function() {
|
||||
return this.cn || this.uid;
|
||||
var fullname = this.cn || this.uid;
|
||||
|
||||
if (this.c_info)
|
||||
fullname += ' (' + this.c_info.split("\n").join("; ") + ')';
|
||||
|
||||
return fullname;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -311,6 +311,8 @@
|
||||
fn = email.value;
|
||||
}
|
||||
}
|
||||
if (this.contactinfo)
|
||||
fn += ' (' + this.contactinfo.split("\n").join("; ") + ')';
|
||||
|
||||
return fn;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user