Permalink
Browse files

Bug 827358 - When visibility change FB favorite contacts are duplicat…

…ed and mis-rendered
  • Loading branch information...
1 parent c9f809c commit 8e4ae92de0fc722797c7697d852cfebf5f1e0e24 @jmcanterafonseca jmcanterafonseca committed with samjoch Jan 7, 2013
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) {

0 comments on commit 8e4ae92

Please sign in to comment.