Skip to content

Commit

Permalink
Bug 827358 - When visibility change FB favorite contacts are duplicat…
Browse files Browse the repository at this point in the history
…ed and mis-rendered
  • Loading branch information
jmcanterafonseca committed Jan 7, 2013
1 parent 1172f87 commit 15c0e8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/communications/contacts/js/contacts.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ var Contacts = (function() {
})(); })();


window.addEventListener('localized', function initContacts(evt) { window.addEventListener('localized', function initContacts(evt) {

window.removeEventListener('localized', initContacts);
fb.init(function contacts_init() { fb.init(function contacts_init() {
Contacts.onLocalized(); Contacts.onLocalized();


Expand Down
2 changes: 2 additions & 0 deletions apps/communications/contacts/js/contacts_list.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ contacts.List = (function() {
var container = document.getElementById(group); var container = document.getElementById(group);
var newContact = renderContact(c); var newContact = renderContact(c);
container.appendChild(newContact); container.appendChild(newContact);

imgLoader.reload();
} }


var getContactsByGroup = function gCtByGroup(errorCb, contacts) { var getContactsByGroup = function gCtByGroup(errorCb, contacts) {
Expand Down

0 comments on commit 15c0e8e

Please sign in to comment.