diff options
author | Gislene Pereira <gislene01@gmail.com> | 2016-03-14 17:16:09 -0300 |
---|---|---|
committer | Gislene Pereira <gislene01@gmail.com> | 2016-03-14 17:16:09 -0300 |
commit | fc36290f708125a168e31b3b1e5b7282e6fd1059 (patch) | |
tree | 8e52653b4c5dc294a37d24cd6752ff2a947c88e1 /web-ui | |
parent | e96e9aa73af9dde6dab2a12da0a9635d6d7a3d8e (diff) |
The logo will spin when the user opens a mail or draft.
Issue #238
Diffstat (limited to 'web-ui')
-rw-r--r-- | web-ui/app/js/page/pix_logo.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web-ui/app/js/page/pix_logo.js b/web-ui/app/js/page/pix_logo.js index c5c709d6..70a8b3ab 100644 --- a/web-ui/app/js/page/pix_logo.js +++ b/web-ui/app/js/page/pix_logo.js @@ -41,6 +41,9 @@ define( this.on(document, events.mails.available, this.stopSpinningLogo); this.on(document, events.mail.saveDraft, this.spinLogo); this.on(document, events.mail.draftSaved, this.stopSpinningLogo); + this.on(document, events.ui.mail.open, this.spinLogo); + this.on(document, events.dispatchers.rightPane.openDraft, this.spinLogo); + this.on(document, events.mail.want, this.stopSpinningLogo); }); } } |