add patch for email bug fix
[webos-internals:adamrmcd-modifications.git] / email / update-bug-fix.patch
1 diff --git a/usr/palm/applications/com.palm.app.email/app/models/EmailAppDepot.js b/usr/palm/applications/com.palm.app.email/app/models/EmailAppDepot.js
2 index b2b1cd7..4e4e29b 100644
3 --- a/usr/palm/applications/com.palm.app.email/app/models/EmailAppDepot.js
4 +++ b/usr/palm/applications/com.palm.app.email/app/models/EmailAppDepot.js
5 @@ -47,7 +47,7 @@ var EmailAppDepot = Class.create({
6                 if (accounts.list !== undefined && this.numAccounts !== accounts.list.length) {
7                         // look for accounts that have been removed
8                         var removedAccounts = [];
9 -                       this.accounts.list.each(function(existingAcct){
10 +                       accounts.list.each(function(existingAcct){
11                                 var stillExists = false;
12                                 accounts.list.each(function(newAcct) {
13                                         if (existingAcct.originalLogin === newAcct.originalLogin) {