Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Bug 1204829 - Share a contact from a device to test device via NFC, t…
Browse files Browse the repository at this point in the history
…he "Filename" screen is displayed as blank screen. r=ferjm
  • Loading branch information
Francisco Jordano committed Oct 1, 2015
1 parent 14713de commit c904e95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/communications/contacts/views/vcard_load/js/boot.js
Expand Up @@ -35,7 +35,8 @@ window.addEventListener('load', function() {
VCardLoadController.setActivity(activity);
VCardHandler.handle(activity)
.then(contacts => {
var filename = VCardHandler.getFileName(activity.source.data.filename);
var data = activity.source.data;
var filename = VCardHandler.getFileName(data.filename || data.src);
// Do Render
VCardLoadUI.render(contacts, filename);
});
Expand Down

0 comments on commit c904e95

Please sign in to comment.