(js) Fix initialization of Card's screenname

pull/214/head
Francis Lachapelle 2016-06-14 16:12:48 -04:00
parent 85b764c179
commit c69e84650d
1 changed files with 1 additions and 0 deletions

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();