Permalink
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...
2 parents bedcb84 + 15c0e8e commit b46fc2c9f97f47bc3d49f9c7d64d66244b145769 @jmcanterafonseca jmcanterafonseca committed Jan 7, 2013
@@ -673,7 +673,7 @@ var Contacts = (function() {
})();
window.addEventListener('localized', function initContacts(evt) {
-
+ window.removeEventListener('localized', initContacts);
fb.init(function contacts_init() {
Contacts.onLocalized();
@@ -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 b46fc2c

Please sign in to comment.