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

Bug 1183727 - [Contacts][NGA] Create #update view and connect it to #… #31372

Merged

Conversation

borjasalguero
Copy link
Contributor

…open within Contacts App r=arcturus

@mozilla-autolander-deprecated
Copy link
Contributor

MainNavigation.go('view-contact-details', 'go-deeper');
}
});
window.location.href = ParamUtils.generateUrl('detail', {contact:id});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if this line of code should be executed ever. If we are not handling any activity we should have gone through L243 right?
We could potentially also save some cycles checking that the activity is import or pick before calling the ContactsService

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been refactored within the list patch, that's why I'm just keeping the old code (contacts.js will dissapear soon! :) )

@arcturus
Copy link
Contributor

The delete operation form the contact form should ask you for confirmation.

@borjasalguero borjasalguero force-pushed the update_selfcontained_rebased branch 2 times, most recently from 85dc1cb to ddbaa1c Compare August 18, 2015 08:39
@arcturus
Copy link
Contributor

I'm experiencing a race condition when removing a contact:

E/Communications(11617): [JavaScript Error: "ReferenceError: navigationStack is not defined" {file: "app://communications.gaiamobile.org/contacts/js/main_navigation.js" line: 6}]

@mozilla-autolander-deprecated
Copy link
Contributor

@borjasalguero
Copy link
Contributor Author

Updated shielded to the race condition

@borjasalguero borjasalguero force-pushed the update_selfcontained_rebased branch 2 times, most recently from c9997d7 to 9a50c35 Compare August 19, 2015 10:38
@mozilla-autolander-deprecated
Copy link
Contributor

borjasalguero added a commit that referenced this pull request Aug 19, 2015
…ased

Bug 1183727 - [Contacts][NGA] Create #update view and connect it to #…
@borjasalguero borjasalguero merged commit b57de4c into mozilla-b2g:master Aug 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants