(js) Fix initialization of Card's screenname

This commit is contained in:
Francis Lachapelle 2016-06-14 16:12:48 -04:00
parent 85b764c179
commit c69e84650d

View file

@ -139,6 +139,7 @@
Card.prototype.init = function(data, partial) {
this.refs = [];
this.categories = [];
this.c_screenname = null;
angular.extend(this, data);
if (!this.$$fullname)
this.$$fullname = this.$fullname();