Improve user search auto-completion

This commit is contained in:
Francis Lachapelle committed 2015-06-12 12:02:14 -04:00
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);
};
/**