mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 09:48:12 +00:00
Improve user search auto-completion
This commit is contained in:
1 parent
a52e6604c1
commit
ab38134ba9
5 files changed
+40
-31
No files matched your search
@@ -63,10 +63,10 @@
|
||||
*/
|
||||
User.prototype.init = function(data) {
|
||||
angular.extend(this, data);
|
||||
if (!this.shortFormat)
|
||||
this.shortFormat = this.$shortFormat();
|
||||
if (!this.image)
|
||||
this.image = User.$gravatar(this.c_email);
|
||||
if (!this.$$shortFormat)
|
||||
this.$$shortFormat = this.$shortFormat();
|
||||
if (!this.$$image)
|
||||
this.$$image = this.image || User.$gravatar(this.c_email);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user