Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 974292 - [Email][V1.3&V1.4] Tapping the Done button of mail settings page redirects to a blank page #16464

Merged
merged 1 commit into from Feb 21, 2014

Conversation

jrburke
Copy link
Contributor

@jrburke jrburke commented Feb 19, 2014

This is a side effect of this change:

f1053cc#diff-3

where Cards.removeCardAndSuccessors(this.domNode, 'animate', 1); was changed to Cards.removeCardAndSuccessors(this.domNode, 'animate');

By leaving out the "how many cards" it meant "this card and all cards after it". However, since the folder_picker is added before message_list in the stack, it means that all the account cards are inserted between folder_picker and message_list. So when the removeCardAndSuccessors removed the progress card, it also removed message_list.

Restoring the 1 arg fixes it. I apologize for letting this slip past before, as I had it in my head that removeCardAndSuccessors defaulted to just that one card if no arg so I did not comment on it when I saw the change.

jrburke added a commit that referenced this pull request Feb 21, 2014
Bug 974292 - [Email][V1.3&V1.4] Tapping the Done button of mail settings page redirects to a blank page r=asuth
@jrburke jrburke merged commit 7362a81 into mozilla-b2g:master Feb 21, 2014
@jrburke jrburke deleted the bug974292-email-done-blank branch February 21, 2014 00:29
jrburke added a commit that referenced this pull request Feb 24, 2014
Bug 974292 - [Email][V1.3&V1.4] Tapping the Done button of mail settings page redirects to a blank page r=asuth
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant