Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #7333 from jmcanterafonseca/fix_localized_two_times

Bug 827358 - When visibility change FB favorite contacts are duplicated ...
  • Loading branch information...
commit b46fc2c9f97f47bc3d49f9c7d64d66244b145769 2 parents bedcb84 + 15c0e8e
@jmcanterafonseca jmcanterafonseca authored
View
2  apps/communications/contacts/js/contacts.js
@@ -673,7 +673,7 @@ var Contacts = (function() {
})();
window.addEventListener('localized', function initContacts(evt) {
-
+ window.removeEventListener('localized', initContacts);
fb.init(function contacts_init() {
Contacts.onLocalized();
View
2  apps/communications/contacts/js/contacts_list.js
@@ -383,6 +383,8 @@ contacts.List = (function() {
var container = document.getElementById(group);
var newContact = renderContact(c);
container.appendChild(newContact);
+
+ imgLoader.reload();
}
var getContactsByGroup = function gCtByGroup(errorCb, contacts) {
Please sign in to comment.
Something went wrong with that request. Please try again.