Commit dc97488b authored by JC Brand's avatar JC Brand

Bugfix. Image was getting unset when saving own vcard

parent 37ce3fb7
...@@ -118,8 +118,8 @@ ...@@ -118,8 +118,8 @@
}; };
if (!image_file.size) { if (!image_file.size) {
_.extend(data, { _.extend(data, {
'image': this.model.get('image'), 'image': this.model.vcard.get('image'),
'image_type': this.model.get('image_type') 'image_type': this.model.vcard.get('image_type')
}); });
this.setVCard(body, data); this.setVCard(body, data);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment